summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2016-06-22 17:02:13 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-06-24 15:20:47 -0700
commitc1496934cfd6603ac3fbf74cc3a16fcd584d5484 (patch)
tree9bacd6175b803e9f745e7bfbf30bf66c76c4baef /diff.c
parentshortlog: respect the --output=<file> setting (diff)
downloadtgif-c1496934cfd6603ac3fbf74cc3a16fcd584d5484.tar.xz
t4211: ensure that log respects --output=<file>
The test script t4202-log.sh is already pretty long, and it is a good idea to test --output with a more obscure option, anyway. So let's test it in conjunction with line-log. The most important part of this test, of course, is to ensure that the file is not closed after writing the diff, but only at the very end of the log output. That is the entire reason why the test tries to generate a log that covers more than one commit. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions