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 #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Steve Ward <planet36 <at> gmail.com>
To: bug-grep <at> gnu.org
Subject: feature request: exclude-vcs option
Date: Thu, 23 Jul 2020 21:31:42 -0400
[Message part 1 (text/plain, inline)]
It would be nice to have an option to exclude version control system (VCS)
directories in a recursive grep.

This can be done effectively with these options
    --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git
--exclude-dir=.hg --exclude-dir=.svn

But having a single, simple option would be preferred.

tar already has this
    --exclude-vcs
        Exclude version control system directories.
[Message part 2 (text/html, inline)]

This bug report was last modified 344 days ago.

Previous Next


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