Re: [BUG] git pull ignores pull.autostash=true configuration when used with --git-dir and --work-tree flags on a bare repository

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

 



Am 16.07.25 um 03:39 schrieb Lidong Yan:
> Junio C Hamano <gitster@xxxxxxxxx> writes:
>> Lidong Yan <yldhome2d2@xxxxxxxxx> writes:
>>> Bryan Lee <hi@xxxxxxxxxx> wrote:
>>>> 2. Or at least document common misconceptions like `pull.autostash` in
>>>> the git-config man page?

>> There always are end-user or third-party defined keys that are not
>> known to us, and we cannot tell if an unknown variable is such a
>> end-user defined one or a typo of a known one.
> 
> For every git_xxx_config(), we could add a register function like
> git_xxx_config_register(), which looks like:

Instead of this complexity, it is most likely a lot easier to fix the
origin of the misconception that `pull.autostash` is the correct
configuration. After all, it isn't even mentioned in the git-config nor
the git-pull man page.

-- Hannes





[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