summaryrefslogtreecommitdiff
path: root/git-lost-found.sh
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2008-12-03 13:26:49 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-12-03 22:27:17 (GMT)
commita86e8c1cfcb576d2d5b3a3499acc48684280dccb (patch)
tree473380267e87f40a4a8c1d6b4723a73334d77d02 /git-lost-found.sh
parentd69da76dd0bc352e358c4beb5eb3aae5588c99de (diff)
downloadgit-a86e8c1cfcb576d2d5b3a3499acc48684280dccb.zip
git-a86e8c1cfcb576d2d5b3a3499acc48684280dccb.tar.gz
git-a86e8c1cfcb576d2d5b3a3499acc48684280dccb.tar.bz2
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-xgit-lost-found.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-lost-found.sh b/git-lost-found.sh
index 9cedaf8..0b3e8c7 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"