[PATCH] Add function to parse an object of unspecified type (take 2)
[git/jnareb-git/bp-gitweb.git] / git-prune-script
blobd0f19f19e2e5ea917bd2a8bf6214aa52fdc83bbc
1 #!/bin/sh
2 fsck-cache --unreachable $(cat .git/HEAD ) | grep unreachable | cut -d' ' -f3 | sed 's:^\(..\):.git/objects/\1/:' | xargs rm