summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2f2de9b)
raw | patch | inline | side by side (parent: 2f2de9b)
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.
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 97646685b70ac18210be130566b2c36395120385..2c678f26a4ec8c9a319944b76c427b30450bf861 100755 (executable)
--- a/git-prune-script
+++ b/git-prune-script
shift;
done
-git-fsck-cache --cache --unreachable "$@" |
+git-fsck-cache --full --cache --unreachable "$@" |
sed -ne '/unreachable /{
s/unreachable [^ ][^ ]* //
s|\(..\)|\1/|p