diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-10-19 23:32:06 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-10-19 23:32:06 -0700 |
commit | 3e3e1ef53285ceafd24bd88483c03a4cb604fe22 (patch) | |
tree | eb67b8a7745d2081b66f13d3bfca7292718c191a /run-command.c | |
parent | t4203 (mailmap): stop hardcoding commit ids and dates (diff) | |
download | tgif-3e3e1ef53285ceafd24bd88483c03a4cb604fe22.tar.xz |
t4203: do not let "git shortlog" DWIM based on tty
The "shortlog" command defaults to HEAD only when its standard input is
connected to a terminal; otherwise it acts in the traditional "filter"
mode to read and summarize the "git log" output.
Two new tests added to t4203 assumed that the command always default to
HEAD, but when the standard input is closed (or connected to /dev/null),
it output empty, which is a summary of its empty input, causing the test
to break.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'run-command.c')
0 files changed, 0 insertions, 0 deletions