summaryrefslogtreecommitdiff
path: root/prompt.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2019-01-24 07:33:51 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-01-24 12:18:52 -0800
commit8817f0cc6751199a996342fbc28bd343d231a5ca (patch)
tree0815bbdc7a7edfa07093241663a02c37051ab8b5 /prompt.c
parentdiff: clear emitted_symbols flag after use (diff)
downloadtgif-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 'prompt.c')
0 files changed, 0 insertions, 0 deletions