diff options
author | Jeff King <peff@peff.net> | 2019-01-24 07:33:51 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-24 12:18:52 -0800 |
commit | 8817f0cc6751199a996342fbc28bd343d231a5ca (patch) | |
tree | 0815bbdc7a7edfa07093241663a02c37051ab8b5 /t/t5616-partial-clone.sh | |
parent | diff: clear emitted_symbols flag after use (diff) | |
download | tgif-8817f0cc6751199a996342fbc28bd343d231a5ca.tar.xz |
combine-diff: factor out stat-format mask
There are several conditionals in the combine diff code that check if
we're doing --stat or --numstat output. Since these must all remain in
sync, let's pull them out into a separate bit-mask.
Arguably this could go into diff.h along with the other DIFF_FORMAT
macros, but it's not clear that the definition of "which formats are
stat" is universal (e.g., does --dirstat count? --summary?). So let's
keep this local to combine-diff.c, where the meaning is more clearly
"stat formats that combine-diff supports".
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5616-partial-clone.sh')
0 files changed, 0 insertions, 0 deletions