Avoid accessing a slow working copy during diffcore operations.
[gitweb.git] / git-commit.sh
index c829791171b2984318aadb63b5b71289b858a7d3..05828bb113d715a1067838ed2ac58ad8db06bf34 100755 (executable)
@@ -619,4 +619,7 @@ if test -x "$GIT_DIR"/hooks/post-commit && test "$ret" = 0
 then
        "$GIT_DIR"/hooks/post-commit
 fi
+
+test "$ret" = 0 && git-diff-tree --summary --root --no-commit-id HEAD
+
 exit "$ret"