summaryrefslogtreecommitdiff
path: root/rerere.c
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2010-05-22 21:43:43 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-05-24 18:22:07 (GMT)
commited40a0951cedb70777669144478166aa5bb2cf9c (patch)
tree5683f6f847d31d83e2ddf9ff38f953eff916aa10 /rerere.c
parentf96e56733ab3e3ce5c79c27c673c746af1519a86 (diff)
downloadgit-ed40a0951cedb70777669144478166aa5bb2cf9c.zip
git-ed40a0951cedb70777669144478166aa5bb2cf9c.tar.gz
git-ed40a0951cedb70777669144478166aa5bb2cf9c.tar.bz2
grep: support NUL chars in search strings for -F
Search patterns in a file specified with -f can contain NUL characters. The current code ignores all characters on a line after a NUL. Pass the actual length of the line all the way from the pattern file to fixmatch() and use it for case-sensitive fixed string matching. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'rerere.c')
0 files changed, 0 insertions, 0 deletions