git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bug: 'core.logallrefupdates' is not set by default in non-bare repository
@ 2016-08-31  8:09 doak
  2016-08-31  9:12 ` Dennis Kaarsemaker
  0 siblings, 1 reply; 8+ messages in thread
From: doak @ 2016-08-31  8:09 UTC (permalink / raw)
  To: git@vger.kernel.org

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-09-02  9:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-31  8:09 bug: 'core.logallrefupdates' is not set by default in non-bare repository doak
2016-08-31  9:12 ` Dennis Kaarsemaker
2016-08-31 10:48   ` Jeff King
2016-08-31 15:32     ` Dennis Kaarsemaker
2016-09-02  8:04       ` Jeff King
2016-09-02  8:47         ` Jeff King
2016-09-02  9:01         ` Dennis Kaarsemaker
2016-09-02  9:11           ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).