[Bug build/34411] [pre-commit] Don't use types filtering

"vries at gcc dot gnu.org via Gdb-prs" <[email protected]>
Newsgroups gmane.comp.gdb.bugs.discuss
Message-ID <[email protected]/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=34411

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
Forgot the Bug: prefix here, so this PR was not updated automatically.

https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=c6f29d01de0ee91442f29d5608a1f3332a4ce671
:
...
[pre-commit] Don't require text type for check-whitespace hook

The check-whitespace hook has a line:
...
types: ['text']
...

Drop this, to make the check-whitespace hook see the same files as git usage
outside pre-commit:
...
$ git diff-index --cached --check $(git hash-object -t tree /dev/null) gdb*
...

Instead, add .gitattributes files in gdb/doc and gdb/testsuite.

https://sourceware.org/bugzilla/show_bug.cgi?id=34411
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.