summaryrefslogtreecommitdiff
path: root/t/t5100/msg0001
diff options
context:
space:
mode:
authorLibravatar Atharva Raykar <raykar.ath@gmail.com>2021-08-24 19:36:09 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-08-24 14:03:58 -0700
commitc51f8f94e5b3d6a8d190d9901ea0c5b83e30c3aa (patch)
tree8af8b5b6ea59bfbf0d1d9b70bcee8eeba2b06877 /t/t5100/msg0001
parentGit 2.33-rc2 (diff)
downloadtgif-c51f8f94e5b3d6a8d190d9901ea0c5b83e30c3aa.tar.xz
submodule--helper: run update procedures from C
Add a new submodule--helper subcommand `run-update-procedure` that runs the update procedure if the SHA1 of the submodule does not match what the superproject expects. This is an intermediate change that works towards total conversion of `submodule update` from shell to C. Specific error codes are returned so that the shell script calling the subcommand can take a decision on the control flow, and preserve the error messages across subsequent recursive calls of `cmd_update`. This change is more focused on doing a faithful conversion, so for now we are not too concerned with trying to reduce subprocess spawns. Mentored-by: Christian Couder <christian.couder@gmail.com> Mentored-by: Shourya Shukla <periperidip@gmail.com> Signed-off-by: Atharva Raykar <raykar.ath@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/msg0001')
0 files changed, 0 insertions, 0 deletions