author | Julian Phillips <julian@quantumfyre.co.uk> | |
Sat, 3 Mar 2007 00:31:16 +0000 (00:31 +0000) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 3 Mar 2007 00:38:47 +0000 (16:38 -0800) | ||
commit | 43bc820db78be5e3230ae675018a7a7af50ccc88 | |
tree | f01d249967bb8c084b9bb1ceda21be83540b4766 | tree | snapshot |
parent | 62273826fe977d4c1fa445edf9d0e4ab02274fa2 | commit | diff |
git-branch: improve abbreviation of sha1s in verbose mode
git-branch has an --abbrev= command line option, but it does
no checking of the input. Take the argument parsing code from
setup_revisions in revisions.c, and also the code for parsing
the --no-abbrev option.
Signed-off-by: Julian Phillips <julian@quantumfyre.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-branch has an --abbrev= command line option, but it does
no checking of the input. Take the argument parsing code from
setup_revisions in revisions.c, and also the code for parsing
the --no-abbrev option.
Signed-off-by: Julian Phillips <julian@quantumfyre.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-branch.c | diff | blob | history |