diff options
| author | Jeff King <peff@peff.net> | 2013-07-10 07:38:58 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2013-07-11 10:39:13 -0700 |
| commit | b71bd48017981f7257d8c0a5096825321b4fb49b (patch) | |
| tree | 72a826b14104a16a346e7e9b9e59c161ddc3d040 /commit.c | |
| parent | cat-file: teach --batch to stream blob objects (diff) | |
| download | git-b71bd48017981f7257d8c0a5096825321b4fb49b.tar.gz git-b71bd48017981f7257d8c0a5096825321b4fb49b.zip | |
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 'commit.c')
0 files changed, 0 insertions, 0 deletions
