aboutsummaryrefslogtreecommitdiff
path: root/t/t4201-shortlog.sh
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-05-03 21:57:10 -0500
committerJunio C Hamano <gitster@pobox.com>2010-05-04 15:29:50 -0700
commit02646fe55dbbbdd8559f7ed2f38385ffb6b9571c (patch)
treed4e4a02353ee4214d49c4126d98716b8bd5e03b6 /t/t4201-shortlog.sh
parente92e9cd3c388544f4f521736df844b37908c3879 (diff)
downloadgit-02646fe55dbbbdd8559f7ed2f38385ffb6b9571c.tar.gz
git-02646fe55dbbbdd8559f7ed2f38385ffb6b9571c.tar.xz
Documentation/shortlog: scripted users should not rely on implicit HEAD
When passed no revision arguments, ‘git shortlog’ reads a log from stdin if and only if stdin is not a tty. So scripts that need to function identically when standard input is a terminal (as when run interactively) and not (as when run through a cron job) should either supply a log themselves or specify the desired revisions explicitly. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4201-shortlog.sh')
0 files changed, 0 insertions, 0 deletions