Merge branch 'sb/cd-then-git-can-be-written-as-git-c'
Test clean-up. * sb/cd-then-git-can-be-written-as-git-c: lib-submodule-update.sh: reduce use of subshell by using "git -C"maint
						commit
						e11c8261ba
					
				|  | @ -69,10 +69,7 @@ create_lib_submodule_repo () { | |||
|  | ||||
| 		git checkout -b "replace_sub1_with_directory" "add_sub1" && | ||||
| 		git submodule update && | ||||
| 		( | ||||
| 			cd sub1 && | ||||
| 			git checkout modifications | ||||
| 		) && | ||||
| 		git -C sub1 checkout modifications && | ||||
| 		git rm --cached sub1 && | ||||
| 		rm sub1/.git* && | ||||
| 		git config -f .gitmodules --remove-section "submodule.sub1" && | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Junio C Hamano
						Junio C Hamano