summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-08-18 21:28:58 +0200
committerJunio C Hamano <gitster@pobox.com>2010-08-18 21:28:58 +0200
commit226d06c16bcafda3417163437be9845130fd4998 (patch)
treecccf5515162f65b6829d94d33bf381b4cfee2fa1 /contrib
parentMerge branch 'vs/doc-spell' (diff)
parentexamples/commit: use --abbrev for commit summary (diff)
downloadgit-226d06c16bcafda3417163437be9845130fd4998.tar.xz
git-226d06c16bcafda3417163437be9845130fd4998.zip
Merge branch 'jn/fix-abbrev'
* 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-xcontrib/examples/git-commit.sh2
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