author | Jonathan Nieder <jrnieder@gmail.com> | |
Tue, 4 May 2010 02:57:10 +0000 (21:57 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 4 May 2010 22:29:50 +0000 (15:29 -0700) | ||
commit | 02646fe55dbbbdd8559f7ed2f38385ffb6b9571c | |
tree | d4e4a02353ee4214d49c4126d98716b8bd5e03b6 | tree | snapshot |
parent | e92e9cd3c388544f4f521736df844b37908c3879 | commit | diff |
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>
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>
Documentation/git-shortlog.txt | diff | blob | history |