Code

diff -M: release the preimage candidate blobs after rename detection.
[git.git] / git-commit.sh
index 9e0959aec06c4d4d7b4f14660c26bc9dd941f111..f28fc242241d3f0f5c88b287da0c59417667a013 100755 (executable)
@@ -649,8 +649,9 @@ then
        fi
        if test -z "$quiet"
        then
+               commit=`git-diff-tree --always --shortstat --pretty="format:%h: %s"\
+                      --summary --root HEAD --`
                echo "Created${initial_commit:+ initial} commit $commit"
-               git-diff-tree --shortstat --summary --root --no-commit-id HEAD --
        fi
 fi