Permalink
Browse files

lost-found: use git rev-parse -q

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information...
1 parent d69da76 commit a86e8c1cfcb576d2d5b3a3499acc48684280dccb Miklos Vajna committed with Dec 3, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-lost-found.sh
View
@@ -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"

0 comments on commit a86e8c1

Please sign in to comment.