From: Ramkumar Ramachandra Date: Fri, 21 Jun 2013 11:12:36 GMT Subject: [PATCH 12/16] t/t5505-remote: modernize subshell-style of one test Message-ID: <1371813160-4200-13-git-send-email-artagnon@gmail.com> In-Reply-To: <1371813160-4200-1-git-send-email-artagnon@gmail.com> Since we plan to edit the test "migrate a remote from named file in $GIT_DIR/remotes" in later patches, modernize the subshell-style by putting the parenthesis on separate lines and indenting the body. Signed-off-by: Ramkumar Ramachandra --- t/t5505-remote.sh | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/t/t5505-remote.sh b/t/t5505-remote.sh index 93e11c8..06ed381 100755 --- a/t/t5505-remote.sh +++ b/t/t5505-remote.sh @@ -676,15 +676,17 @@ EOF test_expect_success 'migrate a remote from named file in $GIT_DIR/remotes' ' git clone one five && - (cd five && - git remote remove origin && - mkdir -p .git/remotes && - cat ../remotes_origin > .git/remotes/origin && - git remote rename origin origin && - test_path_is_missing .git/remotes/origin && - test "$(git config remote.origin.url)" = "quux" && - test "$(git config remote.origin.push)" = "refs/heads/master:refs/heads/upstream" && - test "$(git config remote.origin.fetch)" = "refs/heads/master:refs/heads/origin") + ( + cd five && + git remote remove origin && + mkdir -p .git/remotes && + cat ../remotes_origin > .git/remotes/origin && + git remote rename origin origin && + test_path_is_missing .git/remotes/origin && + test "$(git config remote.origin.url)" = "quux" && + test "$(git config remote.origin.push)" = "refs/heads/master:refs/heads/upstream" && + test "$(git config remote.origin.fetch)" = "refs/heads/master:refs/heads/origin" + ) ' test_expect_success 'migrate a remote from named file in $GIT_DIR/branches' ' -- 1.8.3.1.499.g7ad3486.dirty