]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-merge.sh
Invoke "git gc --auto" from commit, merge, am and rebase.
[thirdparty/git.git] / git-merge.sh
index 3a01db0d751e272541efd0f27177a9ca5cb63bbe..697bec24fa2da16fb1fa7f618a700c0110b5e5fa 100755 (executable)
@@ -82,6 +82,7 @@ finish () {
                        ;;
                *)
                        git update-ref -m "$rlogm" HEAD "$1" "$head" || exit 1
+                       git gc --auto
                        ;;
                esac
                ;;