Skip to content

Commit

Permalink
lost-found: use git rev-parse -q
Browse files Browse the repository at this point in the history
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Miklos Vajna authored and Junio C Hamano committed Dec 3, 2008
1 parent d69da76 commit a86e8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-lost-found.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a86e8c1

Please sign in to comment.