diff options
Diffstat (limited to 'git-ls-remote.sh')
-rwxr-xr-x | git-ls-remote.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/git-ls-remote.sh b/git-ls-remote.sh index 8ea5c5e816..a6ed99a7c5 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 | |