lost-found: use git rev-parse -q

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Miklos Vajna 2008-12-03 14:26:49 +01:00 committed by Junio C Hamano
parent d69da76dd0
commit a86e8c1cfc

View File

@ -20,7 +20,7 @@ while read dangling type sha1
do
case "$dangling" in
dangling)
if git rev-parse --verify "$sha1^0" >/dev/null 2>/dev/null
if git rev-parse -q --verify "$sha1^0" >/dev/null
then
dir="$laf/commit"
git show-branch "$sha1"