commit | 02646fe55dbbbdd8559f7ed2f38385ffb6b9571c | [log] [tgz] |
---|---|---|
author | Jonathan Nieder <jrnieder@gmail.com> | Mon May 03 21:57:10 2010 -0500 |
committer | Junio C Hamano <gitster@pobox.com> | Tue May 04 15:29:50 2010 -0700 |
tree | d4e4a02353ee4214d49c4126d98716b8bd5e03b6 | |
parent | e92e9cd3c388544f4f521736df844b37908c3879 [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>