X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=contrib%2Fexamples%2Fgit-commit.sh;h=23ffb028d1ece96d8c363ddeacca83d2b20b628f;hb=982f6c90ee94b4a2afe1394c1bc62b9914d8a978;hp=5c72f655c7e4fb1bd18e979d33bd94062fce8c1a;hpb=a0d74d160f3d416be8f7fbfd18fee0eebf40d8e0;p=git.git diff --git a/contrib/examples/git-commit.sh b/contrib/examples/git-commit.sh index 5c72f655c..23ffb028d 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