GNU bug report logs -
#42501
feature request: exclude-vcs option
Previous Next
Full log
Message #14 received at 42501 <at> debbugs.gnu.org (full text, mbox):
Hi Paul,
Paul Eggert <eggert <at> cs.ucla.edu> writes:
> Yes, it's a bit of a puzzle. But for Git shouldn't we exclude only
> .git, and not .gitignore, .gitattributes, and .gitmodules? Normally
> these files are under Git control so "git grep" will search them, so
> shouldn't grep --exclude-vcs also search them? Similarly for
> .cvsignore, .hgignore, .hgtags.
I was basing it off the behavior of GNU tar. Doesn't --exclude-vcs there
ignore .gitignore, etc?
Note that the output of --help would make it seems otherwise. But when
tar'ing a local git clone I don't have a .gitignore in it.
$ tar --help | grep 'exclude-vcs'
--exclude-vcs exclude version control system directories
--exclude-vcs-ignores read exclude patterns from the VCS ignore files
Collin
This bug report was last modified 1 year and 41 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.