diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2016-06-25 07:22:32 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-01 12:44:57 -0700 |
commit | e944d9d932b3653debcfdd16eec2721eed0670e5 (patch) | |
tree | 0477bcb979253c7ae0038267b61553278317a0f2 /entry.c | |
parent | 793dc676e08394ed15bffe0ed66606ff9ced1c6a (diff) | |
download | git-e944d9d932b3653debcfdd16eec2721eed0670e5.tar.gz |
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 'entry.c')
0 files changed, 0 insertions, 0 deletions