summaryrefslogtreecommitdiff
path: root/builtin/help.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2013-07-10 07:38:58 -0400
committerJunio C Hamano <gitster@pobox.com>2013-07-11 10:39:13 -0700
commitb71bd48017981f7257d8c0a5096825321b4fb49b (patch)
tree72a826b14104a16a346e7e9b9e59c161ddc3d040 /builtin/help.c
parent98e2092b5027fde9dbe68cb49a196ad2184c02c3 (diff)
downloadgit-b71bd48017981f7257d8c0a5096825321b4fb49b.tar.gz
cat-file: refactor --batch option parsing
We currently use an int to tell us whether --batch parsing is on, and if so, whether we should print the full object contents. Let's instead factor this into a struct, filled in by callback, which will make further batch-related options easy to add. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/help.c')
0 files changed, 0 insertions, 0 deletions