summaryrefslogtreecommitdiff
path: root/http-walker.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2010-05-22 23:28:17 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-05-24 11:22:06 -0700
commit64fcec78b5c52a054eab482e91d58f7b41d1dfaf (patch)
tree85291a7cc6e951d522344a02a66c022ffa5086c2 /http-walker.c
parentgrep: add test script for binary file handling (diff)
downloadtgif-64fcec78b5c52a054eab482e91d58f7b41d1dfaf.tar.xz
grep: grep: refactor handling of binary mode options
Turn the switch inside-out and add labels for each possible value of ->binary. This makes the code easier to read and avoids calling buffer_is_binary() if the option -a was given. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http-walker.c')
0 files changed, 0 insertions, 0 deletions