diff options
| author | Philippe Blain <levraiphilippeblain@gmail.com> | 2019-10-27 17:16:25 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-10-30 09:57:15 +0900 |
| commit | 4782cf2ab686bacca8d2908319981ac27d54ca25 (patch) | |
| tree | f2ba37df193ff94f8fa3a44bf6f35eae508a07bd /compat/regex/regexec.c | |
| parent | Git 2.23 (diff) | |
| download | git-4782cf2ab686bacca8d2908319981ac27d54ca25.tar.gz git-4782cf2ab686bacca8d2908319981ac27d54ca25.zip | |
worktree: teach "add" to ignore submodule.recurse config
"worktree add" internally calls "reset --hard", but if
submodule.recurse is set, reset tries to recurse into
initialized submodules, which makes start_command try to
cd into non-existing submodule paths and die.
Fix that by making sure that the call to reset in "worktree add"
does not recurse.
Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions
