Re: Bug using `fetch` with blank `-c` arguments to git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 4 Jan 2022 at 15:35, Erik Cervin Edin <erik@xxxxxxxxxxx> wrote:
>
> Minor clarifications
>
> On Tue, Jan 4, 2022 at 3:48 PM Adam Dinwoodie <adam@xxxxxxxxxxxxx> wrote:
> >
> > While investigating some issues with a different project, I discovered
> > the command `git -c config.helper= fetch` was working with the Debian
> > ...
> > I see the same behaviour with `-c config.helper=`, `-c
> typos for "credential.helper" ?

"credential.helper" was certainly what I'd intended, but I see the
same behaviour with both options.

(I'd initially thought this was specifically due to the blank
argument, hence the email subject which I clearly failed to update,
but it looks like the issue occurs when using `-c` to set a config
option regardless of the option being set.)

> > Notably the behaviour does not affect all other git commands; `git -c
> > core.autocrlf= log -1` works as expected.
> You've only seen this with "git fetch"?

I've not tried to do any exhaustive testing, but I see this behaviour
with "git fetch", "git pull", "git bisect" and "git submodule"; I see
things apparently working as expected "git blame", "git commit", "git
push", "git reset", "git switch" and "git log".



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux