Sign in
googlers
/
jrn
/
git
/
e2b6a9d0bf9335f24aa8b2be8ff00d3a4ccf6505
/
.
/
git-prune-script
blob: d0f19f19e2e5ea917bd2a8bf6214aa52fdc83bbc [
file
] [
log
] [
blame
]
#!/bin/sh
fsck
-
cache
--
unreachable $
(
cat
.
git
/
HEAD
)
|
grep unreachable
|
cut
-
d
' '
-
f3
|
sed
's:^\(..\):.git/objects/\1/:'
|
xargs rm