[PATCH] Rename and extend read_tree_with_tree_or_commit_sha1
[git/git.git] / git-prune-script
1 #!/bin/sh
2 fsck-cache --unreachable $(cat .git/HEAD ) | grep unreachable | cut -d' ' -f3 | sed 's:^\(..\):.git/objects/\1/:' | xargs rm