Code

Add -v and --abbrev options to git-branch
authorLars Hjemli <hjemli@gmail.com>
Fri, 24 Nov 2006 13:45:10 +0000 (14:45 +0100)
committerJunio C Hamano <junkio@cox.net>
Sat, 25 Nov 2006 04:52:54 +0000 (20:52 -0800)
commit75e6e2132006770156d9df1881b4114862919c94
tree0ad08fc69ffe1dd35e6094f41ad4dd665b6bc126
parent983d2ee284936e8bf14823863d3945b4d8740b94
Add -v and --abbrev options to git-branch

The new -v option makes git-branch show the abbreviated sha1 + subjectline
for each branch.

Additionally, minimum abbreviation length can be specified with
--abbrev=<length>

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-branch.txt
builtin-branch.c