summaryrefslogtreecommitdiff
path: root/strmap.h
diff options
context:
space:
mode:
authorLibravatar Atharva Raykar <raykar.ath@gmail.com>2021-07-10 13:18:01 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-07-12 12:06:21 -0700
commit8c8195e9c3e21922673575828977845b613c3491 (patch)
tree88986fff122a27a99b1e38dc5c5dc40c10b44db4 /strmap.h
parentsubmodule--helper: refactor module_clone() (diff)
downloadtgif-8c8195e9c3e21922673575828977845b613c3491.tar.xz
submodule--helper: introduce add-clone subcommand
Let's add a new "add-clone" subcommand to `git submodule--helper` with the goal of converting part of the shell code in git-submodule.sh related to `git submodule add` into C code. This new subcommand clones the repository that is to be added, and checks out to the appropriate branch. This is meant to be a faithful conversion that leaves the behaviour of 'cmd_add()' script unchanged. Signed-off-by: Atharva Raykar <raykar.ath@gmail.com> Mentored-by: Christian Couder <christian.couder@gmail.com> Mentored-by: Shourya Shukla <periperidip@gmail.com> Based-on-patch-by: Shourya Shukla <periperidip@gmail.com> Based-on-patch-by: Prathamesh Chavan <pc44800@gmail.com> Helped-by: Đoàn Trần Công Danh <congdanhqx@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'strmap.h')
0 files changed, 0 insertions, 0 deletions