author | Jeff King <peff@peff.net> | |
Wed, 23 Apr 2008 09:21:45 +0000 (05:21 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 23 Apr 2008 17:56:07 +0000 (10:56 -0700) | ||
commit | 3ef6a1fe95b0a5aaca21a86651850ef5d62327fa | |
tree | 45094856790f8bb4ae9620643e70e5cfbbce258a | tree | snapshot |
parent | 837f3b765840e789b73d3b08b38c0541cf8e324e | commit | diff |
t5516: remove ambiguity test (1)
This test tried to push into a remote with ambiguous refs in
remotes/$x/master and remotes/$y/master. However, the remote
never actually tells us about the refs/remotes hierarchy, so
we don't even see this ambiguity.
The test happened to pass because we were simply looking for
failure, and the test fails for another reason: the dst
refspec does not exist and does not begin with refs/, making
it invalid.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This test tried to push into a remote with ambiguous refs in
remotes/$x/master and remotes/$y/master. However, the remote
never actually tells us about the refs/remotes hierarchy, so
we don't even see this ambiguity.
The test happened to pass because we were simply looking for
failure, and the test fails for another reason: the dst
refspec does not exist and does not begin with refs/, making
it invalid.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5516-fetch-push.sh | diff | blob | history |