summaryrefslogtreecommitdiff
path: root/git-prune.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-prune.sh')
-rwxr-xr-xgit-prune.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-prune.sh b/git-prune.sh
index 9657dbf271..b28630cacf 100755
--- a/git-prune.sh
+++ b/git-prune.sh
@@ -22,6 +22,7 @@ sed -ne '/unreachable /{
}' | {
cd "$GIT_OBJECT_DIRECTORY" || exit
xargs $echo rm -f
+ rmdir 2>/dev/null [0-9a-f][0-9a-f]
}
git-prune-packed $dryrun