Re: "Submodule registered for path" output with config aliases mixed in
- From
Mateusz Loskot <mateusz@loskot.net>
- Date
- Feb 20, 2019, 16:30 UTC
- Message-ID
- <CABUeae9vyjWszUkfUJ7-JNmrX-7dAQDcvn9488zM4Lcr3VGwqw@mail.gmail.com>
- In-Reply-To
- <CABUeae_N3NFXn-E1+LHORL3RDf5iTCFn=zyuOo3c2Aot2QF7pg@mail.gmail.com>
Hmm, sorry for pushing, but no ideas, really? Doesn't it seem like a bug?
Matz
On Tue, 19 Feb 2019 at 17:51, Mateusz Loskot <mateusz@loskot.net> wrote:
Show 31 quoted lines
>
> Hi,
>
> $ git version
> git version 2.20.1.windows.1
>
> I'm running `git clone --recurse-submodules https://...`
> The command seems to run well and completes with success.
>
> However, I noticed strange output from git:
>
> ```
> Submodule 'Binary/A' (https://...) registered for path '!f() { ~/AppData/Local/Fork/Fork.exe $PWD; }; fBinary/A'
> Submodule 'Binary/B' (https://...) registered for path 'À ♂♦Binary/Intergraph'
> Submodule 'Binary/C' (https://....) registered for path '!sh -c 'git log $1@{1}..$1@{0} $@'Binary/C'
> Submodule 'Binary/D' (https://...) registered for path 'ls-files -o -i --exclude-standardBinary/D'
> Submodule 'Binary/E' (https://...) registered for path 'mergetool.TortoiseGitMerge.trustexitcodeBinary/E'
> ```
>
> I managed to identify where that garbage injections come from:
> from git aliases I've got configured [1]
>
> Could anyone explain what is happening here?
> Is there anything wrong with my ~/.gitconfig [1] ?
>
>
> [1] https://github.com/mloskot/wsl-config/tree/master/git
>
> --
> Best regards,
> Mateusz Łoskot, http://mateusz.loskot.net-- Mateusz Loskot, http://mateusz.loskot.net