git-prune-scripton commit [PATCH] Rework fsck-cache to use parse_object() (c418eda)
   1#!/bin/sh
   2fsck-cache --unreachable $(cat .git/HEAD ) | grep unreachable | cut -d' ' -f3 | sed 's:^\(..\):.git/objects/\1/:' | xargs rm