Code

pretty: Respect --abbrev option
authorWill Palmer <wmpalmer@gmail.com>
Tue, 4 May 2010 03:18:57 +0000 (22:18 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 4 May 2010 22:38:58 +0000 (15:38 -0700)
commitc197702156e2164074327f5e870ab0d3021977fc
tree072768fbbd361d76448e90d508f7914afc8071d7
parent600372497c668045a365b9eab76987ee19405f7a
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>
builtin-shortlog.c
pretty.c
shortlog.h
t/t4201-shortlog.sh
t/t6006-rev-list-format.sh