Re: [GSoC] [PATCH 1/2] submodule--helper: introduce add-clone subcommand
- From
Bagas Sanjaya <bagasdotme@gmail.com>
- Date
- Jun 6, 2021, 03:38 UTC
- Message-ID
- <2422ea94-473e-2fa9-a3cf-f22f941e9b44@gmail.com>
- In-Reply-To
- <20210605113913.29005-2-raykar.ath@gmail.com>
Hi,
On 05/06/21 18.39, Atharva Raykar wrote:
> + git submodule--helper add-clone ${GIT_QUIET:+--quiet} ${force:+"--force"} ${progress:+"--progress"} ${branch:+--branch "$branch"} --prefix "$wt_prefix" --path "$sm_path" --name "$sm_name" --url "$realrepo" ${reference:+"$reference"} ${dissociate:+"--dissociate"} ${depth:+"$depth"} || exitWhat is the exit code you mean in case of error?
> git config submodule."$sm_name".url "$realrepo" > > git add --no-warn-embedded-repo $force "$sm_path" || >
Is `git` executable that found in $PATH used? I have both distro-packaged Git and custom-compiled Git installed, and I would like the latter to be able to use git-submodule from its own install prefix (/path/to/git-prefix or whatsever).
-- An old man doll... just what I always wanted! - Clara