Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-03-11 22:53:52 +0300
committerJunio C Hamano <gitster@pobox.com>2011-03-18 02:18:55 +0300
commite52d719266a06a8553043cb5616d9b4ce4abd27a (patch)
tree0837d066b8dc1b91d770bf9aa4961521e55c005c /t/t5501-fetch-push-alternates.sh
parent36cfda15527d4eb50c84256307e3cb46578f975e (diff)
fetch-pack: objects in our alternates are available to us
Use the helper function split from the receiving end of "git push" to allow the same optimization on the receiving end of "git fetch". Signed-off-by: Junio C Hamano <gitster@pobox.com> Acked-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 't/t5501-fetch-push-alternates.sh')
-rwxr-xr-xt/t5501-fetch-push-alternates.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5501-fetch-push-alternates.sh b/t/t5501-fetch-push-alternates.sh
index 16a467654c..b5ced8483a 100755
--- a/t/t5501-fetch-push-alternates.sh
+++ b/t/t5501-fetch-push-alternates.sh
@@ -54,7 +54,7 @@ test_expect_success 'pushing into a repository with the same alternate' '
test_cmp one.count receiver.count
'
-test_expect_failure 'fetching from a repository with the same alternate' '
+test_expect_success 'fetching from a repository with the same alternate' '
(
cd fetcher &&
git fetch ../one master:refs/heads/it &&