diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2008-12-03 14:26:49 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-12-03 14:27:17 -0800 |
commit | a86e8c1cfcb576d2d5b3a3499acc48684280dccb (patch) | |
tree | 473380267e87f40a4a8c1d6b4723a73334d77d02 /git-lost-found.sh | |
parent | d69da76dd0bc352e358c4beb5eb3aae5588c99de (diff) | |
download | git-a86e8c1cfcb576d2d5b3a3499acc48684280dccb.tar.gz git-a86e8c1cfcb576d2d5b3a3499acc48684280dccb.tar.xz |
lost-found: use git rev-parse -q
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-lost-found.sh')
-rwxr-xr-x | git-lost-found.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" |