bug: 'core.logallrefupdates' is not set by default in non-bare repository

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

 



Hi there,

If 'git init /path/to/repo' is called inside another repository with 'core.logallrefupdates' set to true, it will be not set by default in the created repository.
This seems to be a bug.
I am using Git v2.9.3 (Arch).

Steps to reproduce:
    ---------------------
    git init t1
    cd t1
    # 'core.logallrefupdates' will not be set for 't2'.
    git init ../t2
    ---------------------

Stated from 'git-config(1)':
    ---------------------
    core.logAllRefUpdates
        [...]
        This value is true by default in a repository that has a working directory associated with it, and false by default in a bare repository.
    ---------------------


With best regards,
doak





[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]