Re: [PATCH] submodule add: fix breakage when re-adding a deep submodule
On 2012-01-24 13:49, Jens Lehmann wrote:
Show 12 quoted lines
> diff --git a/git-submodule.sh b/git-submodule.sh
> index 3adab93..9bb2e13 100755
> --- a/git-submodule.sh
> +++ b/git-submodule.sh
> @@ -131,6 +131,7 @@ module_clone()
> gitdir=
> gitdir_base=
> name=$(module_name "$path" 2>/dev/null)
> + test -n "$name" || name="$path"
> base_path=$(dirname "$path")
>
> gitdir=$(git rev-parse --git-dir)
That fixed my problem. Thanks Jens.
Jehan