summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 61821aa)
raw | patch | inline | side by side (parent: 61821aa)
author | Thomas Rast <trast@student.ethz.ch> | |
Thu, 1 Mar 2012 21:40:49 +0000 (22:40 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 1 Mar 2012 22:34:14 +0000 (14:34 -0800) |
The last test descended into a subdir without ever re-emerging, which
is not so nice to the next test writer.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
is not so nice to the next test writer.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5510-fetch.sh | patch | blob | history |
diff --git a/t/t5510-fetch.sh b/t/t5510-fetch.sh
index 6508d8ab133f21b8deae078b3fd1eb15924c7c6d..d7eca5dbab7d8d59dfc3080f3058293666ce2129 100755 (executable)
--- a/t/t5510-fetch.sh
+++ b/t/t5510-fetch.sh
'
test_expect_success "should be able to fetch with duplicate refspecs" '
- mkdir dups &&
- cd dups &&
- git init &&
- git config branch.master.remote three &&
- git config remote.three.url ../three/.git &&
- git config remote.three.fetch +refs/heads/*:refs/remotes/origin/* &&
- git config --add remote.three.fetch +refs/heads/*:refs/remotes/origin/* &&
- git fetch three
+ mkdir dups &&
+ (
+ cd dups &&
+ git init &&
+ git config branch.master.remote three &&
+ git config remote.three.url ../three/.git &&
+ git config remote.three.fetch +refs/heads/*:refs/remotes/origin/* &&
+ git config --add remote.three.fetch +refs/heads/*:refs/remotes/origin/* &&
+ git fetch three
+ )
'
test_done