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.lorimer.id.au/gitweb.git/diff_plain/a86e8c1cfcb576d2d5b3a3499acc48684280dccb?ds=inline;hp=--cc lost-found: use git rev-parse -q Signed-off-by: Miklos Vajna Signed-off-by: Junio C Hamano --- a86e8c1cfcb576d2d5b3a3499acc48684280dccb diff --git a/git-lost-found.sh b/git-lost-found.sh index 9cedaf80ce..0b3e8c7a86 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"