summaryrefslogtreecommitdiff
path: root/contrib/examples/git-gc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/examples/git-gc.sh')
-rwxr-xr-xcontrib/examples/git-gc.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/examples/git-gc.sh b/contrib/examples/git-gc.sh
index 436d7caff5..2ae235b081 100755
--- a/contrib/examples/git-gc.sh
+++ b/contrib/examples/git-gc.sh
@@ -30,8 +30,8 @@ notbare|"")
esac
test "true" != "$pack_refs" ||
-git-pack-refs --prune &&
-git-reflog expire --all &&
+git pack-refs --prune &&
+git reflog expire --all &&
git-repack -a -d -l &&
-$no_prune git-prune &&
-git-rerere gc || exit
+$no_prune git prune &&
+git rerere gc || exit