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.
This commit is contained in:
Linus Torvalds 2005-07-14 08:57:14 -07:00
Родитель 2f2de9b4cd
Коммит b0966e1010
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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