author | Brandon Casey <drafnel@gmail.com> | |
Thu, 9 Sep 2010 18:56:37 +0000 (13:56 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 10 Sep 2010 00:16:08 +0000 (17:16 -0700) | ||
commit | 042cca38866569ca8a64c6ef1f95c58b157e4d36 | |
tree | ecc11c8b8d4666ee52cd02184391653109787b99 | tree | snapshot |
parent | f31dbdc7dad3511e1ee73cb04a032773d11231cd | commit | diff |
t/t5510-fetch.sh: improve testing with explicit URL and merge spec
Commit 6106ce46 introduced a test to demonstrate fetch's failure to
retrieve any objects or update FETCH_HEAD when it was supplied a repository
URL and the current branch had a configured merge spec. This commit
expands the original test based on comments from Junio Hamano. In addition
to actually verifying that the fetch updates FETCH_HEAD correctly, and does
not update the current branch, two more tests are added to ensure that the
merge configuration is ignored even when the supplied URL matches the URL
of the remote configured for the branch.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commit 6106ce46 introduced a test to demonstrate fetch's failure to
retrieve any objects or update FETCH_HEAD when it was supplied a repository
URL and the current branch had a configured merge spec. This commit
expands the original test based on comments from Junio Hamano. In addition
to actually verifying that the fetch updates FETCH_HEAD correctly, and does
not update the current branch, two more tests are added to ensure that the
merge configuration is ignored even when the supplied URL matches the URL
of the remote configured for the branch.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5510-fetch.sh | diff | blob | history |