GNU bug report logs - #42501
feature request: exclude-vcs option

Previous Next

Package: grep;

Reported by: Steve Ward <planet36 <at> gmail.com>

Date: Fri, 24 Jul 2020 01:33:02 UTC

Severity: wishlist

Full log


Message #11 received at 42501 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Collin Funk <collin.funk1 <at> gmail.com>, 42501 <at> debbugs.gnu.org
Subject: Re: bug#42501: feature request: exclude-vcs option
Date: Sat, 6 Jul 2024 15:38:40 +0200
On 7/6/24 11:10, Collin Funk wrote:
> But I haven't used those version control systems so I am unsure which
> ones are directories or not.

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.




This bug report was last modified 1 year and 40 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.