3 # Copyright (c) 2006, Shawn O. Pearce
5 # Cleanup unreachable files and optimize the repository.
7 USAGE
='git-gc [--prune]'
12 while case $# in 0) break ;; esac
25 git-pack-refs
--prune &&
26 git-reflog expire
--all &&
27 git-repack
-a -d -l &&
28 $no_prune git-prune
&&