All of lore.kernel.org
 help / color / mirror / Atom feed
From: "brian m. carlson" <sandals@crustytoothpaste.net>
To: Mateusz Loskot <mateusz@loskot.net>
Cc: git@vger.kernel.org
Subject: Re: "Submodule registered for path" output with config aliases mixed in
Date: Thu, 21 Feb 2019 02:18:25 +0000	[thread overview]
Message-ID: <20190221021825.GB488342@genre.crustytoothpaste.net> (raw)
In-Reply-To: <CABUeae_N3NFXn-E1+LHORL3RDf5iTCFn=zyuOo3c2Aot2QF7pg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1459 bytes --]

On Tue, Feb 19, 2019 at 05:51:05PM +0100, Mateusz Loskot wrote:
> Hi,
> 
> $ git version
> git version 2.20.1.windows.1
> 
> I'm running `git clone --recurse-submodules https://XXX`
> The command seems to run well and completes with success.
> 
> However, I noticed strange output from git:
> 
> ```
> Submodule 'Binary/A' (https://XXX) registered for path '!f() {
> ~/AppData/Local/Fork/Fork.exe $PWD; }; fBinary/A'
> Submodule 'Binary/B' (https://XXX) registered for path 'À   ♂♦Binary/Intergraph'
> Submodule 'Binary/C' (https://XXX) registered for path '!sh -c 'git
> log $1@{1}..$1@{0} $@'Binary/C'
> Submodule 'Binary/D' (https://XXX) registered for path 'ls-files -o -i
> --exclude-standardBinary/D'
> Submodule 'Binary/E' (https://XXX) 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] ?

I see the right behavior on my system (Debian amd64/sid) with
2.21.0.rc0.258.g878e2cd30e and with master. I've built with ASan and
don't see any memory warnings on my system.

Does your .gitmodules file appear to be correct in the main repository
when you clone, or does it contain unexpected entries?
-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 868 bytes --]

  parent reply	other threads:[~2019-02-21  2:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-19 16:51 "Submodule registered for path" output with config aliases mixed in Mateusz Loskot
2019-02-20 16:30 ` Mateusz Loskot
2019-02-21  2:18 ` brian m. carlson [this message]
2019-02-21  3:47   ` Duy Nguyen
2019-02-21  4:17     ` Jeff King
2019-02-21 10:53       ` Mateusz Loskot
2019-02-21 13:07         ` Jeff King
2019-02-21 20:01           ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190221021825.GB488342@genre.crustytoothpaste.net \
    --to=sandals@crustytoothpaste.net \
    --cc=git@vger.kernel.org \
    --cc=mateusz@loskot.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.