Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] pull: refuse complete src:dst fetchspec arguments

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:35

Sean Estabrooks [off-list ref] writes:
quoted
-test_expect_success 'pulling into void using master:master' '
-	mkdir cloned-uho &&
-	(
-		cd cloned-uho &&
-		git init &&
-		git pull .. master:master
-	) &&
-	test -f file &&
-	test -f cloned-uho/file &&
-	test_cmp file cloned-uho/file
-
-
 test_expect_success 'test . as a remote' '
 
 	git branch copy master &&
-- 
Instead of removing this test it should be modified or replaced
with a test that ensures the new functionality operates correctly.
In this case that would mean checking that using a full refspec
errors out.
Shouldn't "git pull .. master" still work in this case, too?  So this test
will probably become two tests, one for "git pull .. master:master" that
correctly fails, and the other for "git pull .. master" to still work as
expected.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help