diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-02-17 10:13:28 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-17 10:13:28 -0800 |
commit | 9f03176ef679ea5e0fb9088529180db72ae0764b (patch) | |
tree | cf143adf70750c6aa1ddc7d111ff26c812da81a9 /t | |
parent | Sixth batch for the 2.8 cycle (diff) | |
parent | transport: drop support for git-over-rsync (diff) | |
download | tgif-9f03176ef679ea5e0fb9088529180db72ae0764b.tar.xz |
Merge branch 'jk/drop-rsync-transport'
It turns out "git clone" over rsync transport has been broken when
the source repository has packed references for a long time, and
nobody noticed nor complained about it.
* jk/drop-rsync-transport:
transport: drop support for git-over-rsync
Diffstat (limited to 't')
-rwxr-xr-x | t/t5510-fetch.sh | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/t/t5510-fetch.sh b/t/t5510-fetch.sh index 9203a6507f..0c10c856a9 100755 --- a/t/t5510-fetch.sh +++ b/t/t5510-fetch.sh @@ -314,42 +314,6 @@ test_expect_success 'bundle should be able to create a full history' ' ' -! rsync --help > /dev/null 2> /dev/null && -say 'Skipping rsync tests because rsync was not found' || { -test_expect_success 'fetch via rsync' ' - git pack-refs && - mkdir rsynced && - (cd rsynced && - git init --bare && - git fetch "rsync:../.git" master:refs/heads/master && - git gc --prune && - test $(git rev-parse master) = $(cd .. && git rev-parse master) && - git fsck --full) -' - -test_expect_success 'push via rsync' ' - mkdir rsynced2 && - (cd rsynced2 && - git init) && - (cd rsynced && - git push "rsync:../rsynced2/.git" master) && - (cd rsynced2 && - git gc --prune && - test $(git rev-parse master) = $(cd .. && git rev-parse master) && - git fsck --full) -' - -test_expect_success 'push via rsync' ' - mkdir rsynced3 && - (cd rsynced3 && - git init) && - git push --all "rsync:rsynced3/.git" && - (cd rsynced3 && - test $(git rev-parse master) = $(cd .. && git rev-parse master) && - git fsck --full) -' -} - test_expect_success 'fetch with a non-applying branch.<name>.merge' ' git config branch.master.remote yeti && git config branch.master.merge refs/heads/bigfoot && |