author | Will Palmer <wmpalmer@gmail.com> | |
Tue, 4 May 2010 03:18:57 +0000 (22:18 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 4 May 2010 22:38:58 +0000 (15:38 -0700) | ||
commit | c197702156e2164074327f5e870ab0d3021977fc | |
tree | 072768fbbd361d76448e90d508f7914afc8071d7 | tree | snapshot |
parent | 600372497c668045a365b9eab76987ee19405f7a | commit | diff |
pretty: Respect --abbrev option
Prior to this, the output of git log -1 --format=%h was always 7
characters long, without regard to whether --abbrev had been passed.
Signed-off-by: Will Palmer <wmpalmer@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Prior to this, the output of git log -1 --format=%h was always 7
characters long, without regard to whether --abbrev had been passed.
Signed-off-by: Will Palmer <wmpalmer@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-shortlog.c | diff | blob | history | |
pretty.c | diff | blob | history | |
shortlog.h | diff | blob | history | |
t/t4201-shortlog.sh | diff | blob | history | |
t/t6006-rev-list-format.sh | diff | blob | history |