From: Miklos Vajna Date: Wed, 3 Dec 2008 13:26:49 +0000 (+0100) Subject: lost-found: use git rev-parse -q X-Git-Tag: v1.6.1-rc2~16 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a86e8c1cfcb576d2d5b3a3499acc48684280dccb;p=git.git lost-found: use git rev-parse -q Signed-off-by: Miklos Vajna Signed-off-by: Junio C Hamano --- diff --git a/git-lost-found.sh b/git-lost-found.sh index 9cedaf80c..0b3e8c7a8 100755 --- a/git-lost-found.sh +++ b/git-lost-found.sh @@ -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"