diff options
author | Jeff King <peff@peff.net> | 2018-03-21 01:56:37 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-21 10:24:19 -0700 |
commit | 009a81ed978e5dc81767cf1be6dc4ea38c112801 (patch) | |
tree | 00e0f89d882adc99c11ae464648779b109eecc62 /exec_cmd.h | |
parent | diff-highlight: test graphs with --color (diff) | |
download | tgif-009a81ed978e5dc81767cf1be6dc4ea38c112801.tar.xz |
diff-highlight: use flush() helper consistently
The current flush() helper only shows the queued diff but
does not clear the queue. This is conceptually a bug, but it
works because we only call it once at the end of the
program.
Let's teach it to clear the queue, which will let us use it
in more places (one for now, but more in future patches).
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'exec_cmd.h')
0 files changed, 0 insertions, 0 deletions