projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f2de9b
)
Make "git prune" use the "--full" flag to git-fsck-cache
author
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 14 Jul 2005 15:57:14 +0000
(08:57 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 14 Jul 2005 15:57:14 +0000
(08:57 -0700)
It's too dangerous not to. We need to follow alternate object
directories etc, or we might say something is unreachable just because
we didn't look it up completely.
git-prune-script
patch
|
blob
|
history
diff --git
a/git-prune-script
b/git-prune-script
index
9764668
..
2c678f2
100755
(executable)
--- a/
git-prune-script
+++ b/
git-prune-script
@@
-14,7
+14,7
@@
do
shift;
done
-git-fsck-cache --cache --unreachable "$@" |
+git-fsck-cache --
full --
cache --unreachable "$@" |
sed -ne '/unreachable /{
s/unreachable [^ ][^ ]* //
s|\(..\)|\1/|p