diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-08-20 12:53:09 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-20 12:53:09 -0700 |
commit | 316fa401e1c953ffc80533aaf6839817595cdd77 (patch) | |
tree | 6ad48c40abadde6c9c7d44a9d03246da65f94f25 /contrib | |
parent | 7d61b31b67a470c7008a989901d3efa1e6533dbe (diff) | |
parent | 7f1592db5d4cba2b3de3a1ce46eb8c05bd33e0a1 (diff) | |
download | git-316fa401e1c953ffc80533aaf6839817595cdd77.tar.gz |
Merge branch 'jn/fix-abbrev' into maint
* jn/fix-abbrev:
examples/commit: use --abbrev for commit summary
checkout, commit: remove confusing assignments to rev.abbrev
archive: abbreviate substituted commit ids again
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/examples/git-commit.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/examples/git-commit.sh b/contrib/examples/git-commit.sh index 5c72f655c7..23ffb028d1 100755 --- a/contrib/examples/git-commit.sh +++ b/contrib/examples/git-commit.sh @@ -631,7 +631,7 @@ then if test -z "$quiet" then commit=`git diff-tree --always --shortstat --pretty="format:%h: %s"\ - --summary --root HEAD --` + --abbrev --summary --root HEAD --` echo "Created${initial_commit:+ initial} commit $commit" fi fi |