Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
applymbox & quiltimport: typofix.
[gitweb.git]
/
git-ls-remote.sh
diff --git
a/git-ls-remote.sh
b/git-ls-remote.sh
index 8ea5c5e816c067db88f04bc5a0613ca1dbb13456..a6ed99a7c52ac557b01e4dbf271abdf5b9a18b4b 100755
(executable)
--- a/
git-ls-remote.sh
+++ b/
git-ls-remote.sh
@@
-89,8
+89,13
@@
rsync://* )
;;
* )
- git-peek-remote $exec "$peek_repo" ||
+ if test -f "$peek_repo" ; then
+ git bundle list-heads "$peek_repo" ||
echo "failed slurping"
+ else
+ git-peek-remote $exec "$peek_repo" ||
+ echo "failed slurping"
+ fi
;;
esac |
sort -t ' ' -k 2 |