From b0966e1010547095ea6fe546dcbbe23a03b62841 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 14 Jul 2005 08:57:14 -0700 Subject: [PATCH] Make "git prune" use the "--full" flag to git-fsck-cache 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-prune-script b/git-prune-script index 97646685b..2c678f26a 100755 --- 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 -- 2.30.2