diff options
author | Jeff King <peff@peff.net> | 2019-01-24 15:33:51 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-24 23:18:52 +0300 |
commit | 8817f0cc6751199a996342fbc28bd343d231a5ca (patch) | |
tree | 0815bbdc7a7edfa07093241663a02c37051ab8b5 /t/t4013-diff-various.sh | |
parent | 48edf3a02addfa6385cd04c62a1c48671aad19aa (diff) |
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/t4013-diff-various.sh')
0 files changed, 0 insertions, 0 deletions