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
This commit is contained in:
@ -362,10 +362,10 @@ test_expect_success 'update --init' '
|
||||
git submodule update init > update.out &&
|
||||
cat update.out &&
|
||||
test_i18ngrep "not initialized" update.out &&
|
||||
! test -d init/.git &&
|
||||
test_must_fail git rev-parse --resolve-git-dir init/.git &&
|
||||
|
||||
git submodule update --init init &&
|
||||
test -d init/.git
|
||||
git rev-parse --resolve-git-dir init/.git
|
||||
'
|
||||
|
||||
test_expect_success 'do not add files from a submodule' '
|
||||
|
||||
Reference in New Issue
Block a user