X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-ls-remote.sh;h=a6ed99a7c52ac557b01e4dbf271abdf5b9a18b4b;hb=967506bbbdc38e75263d6e6a90e3b8dbba6cec0f;hp=8ea5c5e816c067db88f04bc5a0613ca1dbb13456;hpb=4a164d48df6bb1b4a771741c63d4437fd2dca0bb;p=git.git diff --git a/git-ls-remote.sh b/git-ls-remote.sh index 8ea5c5e81..a6ed99a7c 100755 --- 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 |