branch -v: honor core.abbrev
authorNamhyung Kim <namhyung@gmail.com>
Fri, 1 Jul 2011 06:06:08 +0000 (15:06 +0900)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Jul 2011 18:22:09 +0000 (11:22 -0700)
commitb792c067872a6b4ec6545dc4375a7084626cb0fa
tree6df2f73241079eb15d9c40c484536ad1730076f7
parent76c82f90abde8820461e042c6654673f1147881d
branch -v: honor core.abbrev

Use the value from 'core.abbrev' configuration variable unless user
specifies the length on command line when showing commit object name
in "branch -v" output.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-branch.txt
builtin/branch.c