Skip to content
Snippets Groups Projects
Commit e524e44e authored by Junio C Hamano's avatar Junio C Hamano
Browse files

Merge branch 'sb/submodule-abort-update-upon-config-failure'

"git submodule update" learned to abort early when core.worktree
for the submodule is not set correctly to prevent spreading damage.

* sb/submodule-abort-update-upon-config-failure:
  git-submodule: abort if core.worktree could not be set correctly
parents 51b99666 5d124f41
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -548,7 +548,7 @@ cmd_update()
do
die_if_unmatched "$quickabort" "$sha1"
 
git submodule--helper ensure-core-worktree "$sm_path"
git submodule--helper ensure-core-worktree "$sm_path" || exit 1
 
update_module=$(git submodule--helper update-module-mode $just_cloned "$sm_path" $update)
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment