3 . git-sh-setup-script || die "Not a git archive"
7 while case "$#" in 0) break ;; esac
10 -n) dryrun=-n echo=echo ;;
12 -*) echo >&2 "usage: git-prune-script [ -n ] [ heads... ]"; exit 1 ;;
18 git-fsck-cache --full --cache --unreachable "$@" |
19 sed -ne '/unreachable /{
20 s/unreachable [^ ][^ ]* //
23 cd "$GIT_OBJECT_DIRECTORY" || exit
27 git-prune-packed $dryrun