git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
d69da76
)
lost-found: use git rev-parse -q
author
Miklos Vajna
<redacted>
Wed, 3 Dec 2008 13:26:49 +0000
(14:26 +0100)
committer
Junio C Hamano
<redacted>
Wed, 3 Dec 2008 22:27:17 +0000
(14:27 -0800)
Signed-off-by: Miklos Vajna <redacted>
Signed-off-by: Junio C Hamano <redacted>
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
@@
-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"
git clone https://git.99rst.org/PROJECT