summaryrefslogtreecommitdiff
path: root/Documentation/git-tar-tree.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-08-04 22:16:42 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-08-06 01:37:08 -0700
commitf25b79397c9775df9eeef3d59d0cc3b1f913bc60 (patch)
treed3506d5985b0d529ac87e6b1d3cb69cb3451c7fd /Documentation/git-tar-tree.txt
parentMakefile: Cygwin does not seem to need NO_STRLCPY (diff)
downloadtgif-f25b79397c9775df9eeef3d59d0cc3b1f913bc60.tar.xz
Fix "grep -w"
We used to find the first match of the pattern and then if the match is not for the entire word, declared that the whole line does not match. But that is wrong. The command "git grep -w -e mmap" should find that a line "foo_mmap bar mmap baz" matches, by tring the second instance of pattern "mmap" on the same line. Problems an earlier round of "fix" had were pointed out by Morten Welinder, which have been incorporated in the t7002 tests. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-tar-tree.txt')
0 files changed, 0 insertions, 0 deletions