summaryrefslogtreecommitdiff
path: root/gitweb/README
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-09-27 13:43:12 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-04 18:33:45 -0700
commit0a93fb8a9cc6fa1bf7dba6b498cba3f57f5017a1 (patch)
tree50daede8ecb40d0cff0c0968cd9d3337b8d520b3 /gitweb/README
parentgrep --no-index: don't use git standard exclusions (diff)
downloadtgif-0a93fb8a9cc6fa1bf7dba6b498cba3f57f5017a1.tar.xz
grep: teach --untracked and --exclude-standard options
In a working tree of a git managed repository, "grep --untracked" would find the specified patterns from files in untracked files in addition to its usual behaviour of finding them in the tracked files. By default, when working with "--no-index" option, "grep" does not pay attention to .gitignore mechanism. "grep --no-index --exclude-standard" can be used to tell the command to use .gitignore and stop reporting hits from files that would be ignored. Also, when working without "--no-index", "grep" honors .gitignore mechanism, and "grep --no-exclude-standard" can be used to tell the command to include hits from files that are ignored. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/README')
0 files changed, 0 insertions, 0 deletions