X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=contrib%2Fexamples%2Fgit-commit.sh;h=23ffb028d1ece96d8c363ddeacca83d2b20b628f;hb=b480d38dab815e780234d0887f4185afc3db1b64;hp=5c72f655c7e4fb1bd18e979d33bd94062fce8c1a;hpb=75b44066f3ed7cde238cdea1f0bf9e2f1744c820;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