diff options
| author | Junio C Hamano <gitster@pobox.com> | 2011-10-10 15:56:16 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2011-10-10 15:56:17 -0700 |
| commit | efc5fb6a77780c53c6636326ca82ff87b17e4c5f (patch) | |
| tree | df55c7da6100b8b102b183dee72c9137b0d68075 /t/t7403-submodule-sync.sh | |
| parent | 27c0f768843b6d844674f1fb8dc2676d830b56e3 (diff) | |
| parent | 501770e1bb5d132ae4f79aa96715f07f6b84e1f6 (diff) | |
| download | git-efc5fb6a77780c53c6636326ca82ff87b17e4c5f.tar.gz | |
Merge branch 'fg/submodule-git-file-git-dir'
* fg/submodule-git-file-git-dir:
Move git-dir for submodules
rev-parse: add option --resolve-git-dir <path>
Conflicts:
cache.h
git-submodule.sh
Diffstat (limited to 't/t7403-submodule-sync.sh')
| -rwxr-xr-x | t/t7403-submodule-sync.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/t/t7403-submodule-sync.sh b/t/t7403-submodule-sync.sh index 95ffe349a7..3620215c1f 100755 --- a/t/t7403-submodule-sync.sh +++ b/t/t7403-submodule-sync.sh @@ -56,8 +56,9 @@ test_expect_success '"git submodule sync" should update submodule URLs' ' git pull --no-recurse-submodules && git submodule sync ) && - test -d "$(git config -f super-clone/submodule/.git/config \ - remote.origin.url)" && + test -d "$(cd super-clone/submodule && + git config remote.origin.url + )" && (cd super-clone/submodule && git checkout master && git pull |
