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