git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Ddoak <doak@gmx.de>
Date
Aug 31, 2016, 08:09 UTC
Message-ID
<c46d36ef-3c2e-374f-0f2e-ffe31104e023@gmx.de>
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

Next: Dennis Kaarsemaker
Message 1 of 8 in “bug: 'core.logallrefupdates' is not set by default in non-bare repository”
  1. doakAug 31, 2016
  2. Dennis KaarsemakerAug 31, 2016
  3. Jeff KingAug 31, 2016
  4. Dennis KaarsemakerAug 31, 2016
  5. Jeff KingSep 2, 2016
  6. Jeff KingSep 2, 2016
  7. Dennis KaarsemakerSep 2, 2016
  8. Jeff KingSep 2, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.