repo.or.cz
/
git
/
jrn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix NSEC compile problem, and properly parse the rev-tree cmd line.
[git/jrn.git]
/
git-prune-script
blob
d0f19f19e2e5ea917bd2a8bf6214aa52fdc83bbc
1
#!/bin/sh
2
fsck-cache
--unreachable
$
(
cat
.git
/
HEAD
)
|
grep
unreachable | cut
-d
' '
-f3
|
sed
's:^\(..\):.git/objects/\1/:'
|
xargs rm