]> git.ipfire.org Git - thirdparty/git.git/blame - git-prune-script
Add the ability to prefix something to the pathname to "checkout-cache.c"
[thirdparty/git.git] / git-prune-script
CommitLineData
839a7a06
LT
1#!/bin/sh
2fsck-cache --unreachable $(cat .git/HEAD ) | grep unreachable | cut -d' ' -f3 | sed 's:^\(..\):.git/objects/\1/:' | xargs rm