summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d69da76)
raw | patch | inline | side by side (parent: d69da76)
author | Miklos Vajna <vmiklos@frugalware.org> | |
Wed, 3 Dec 2008 13:26:49 +0000 (14:26 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 3 Dec 2008 22:27:17 +0000 (14:27 -0800) |
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-lost-found.sh | patch | blob | history |
diff --git a/git-lost-found.sh b/git-lost-found.sh
index 9cedaf80ceac1d4100adf3cfb152c76c7f945e4d..0b3e8c7a8652478a7dd3d629fde9240cac6d6e2b 100755 (executable)
--- a/git-lost-found.sh
+++ b/git-lost-found.sh
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"