diff options
author | Atharva Raykar <raykar.ath@gmail.com> | 2021-07-10 13:18:01 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-07-12 12:06:21 -0700 |
commit | 8c8195e9c3e21922673575828977845b613c3491 (patch) | |
tree | 88986fff122a27a99b1e38dc5c5dc40c10b44db4 /builtin/credential-store.c | |
parent | submodule--helper: refactor module_clone() (diff) | |
download | tgif-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 'builtin/credential-store.c')
0 files changed, 0 insertions, 0 deletions