summaryrefslogtreecommitdiffstats
path: root/grep.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-06-25 07:22:32 +0200
committerJunio C Hamano <gitster@pobox.com>2016-07-01 12:44:57 -0700
commite944d9d932b3653debcfdd16eec2721eed0670e5 (patch)
tree0477bcb979253c7ae0038267b61553278317a0f2 /grep.h
parent793dc676e08394ed15bffe0ed66606ff9ced1c6a (diff)
downloadgit-e944d9d932b3653debcfdd16eec2721eed0670e5.tar.gz
git-e944d9d932b3653debcfdd16eec2721eed0670e5.tar.xz
grep: rewrite an if/else condition to avoid duplicate expression
"!icase || ascii_only" is repeated twice in this if/else chain as this series evolves. Rewrite it (and basically revert the first if condition back to before the "grep: break down an "if" stmt..." commit). Helped-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'grep.h')
0 files changed, 0 insertions, 0 deletions