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

Git log.decorate can't be overridden in global config (v2.13.0)

From
CECaleb Evans <caleb@calebevans.me>
Date
May 19, 2017, 23:43 UTC
Message-ID
<15c2318a2c4.1100a44f3621653.6175207833450352995@calebevans.me>
Hi,
I recently updated to Git v2.13.0 (macOS Sierra via Homebrew), and I noticed that the default --decorate option for `git log` has changed from --decorate=no to --decorate=auto. I'd prefer to keep decoration disabled to minimize clutter in the logs, so I try disabling it in my global .gitconfig (~/.gitconfig) like so:
git config --global log.decorate none
However, this does not seem to disable the log decorations. Running `git log` again still shows the decorations. Strangely, running `git config log.decorate none` does seem to disable decoration, but I would prefer not to do this on a per-repository basis. I can only suspect that this is a Git bug, as my log.decorate global config setting is not being honored. I have already confirmed that my repository's .git/config is not overriding my global preference.
I hope this should be a simple issue, but please let me know if you have questions.

Thanks, Caleb Evans

Next: Todd Zullinger
Message 1 of 3 in “Git log.decorate can't be overridden in global config (v2.13.0)”
  1. Caleb EvansMay 19, 2017
  2. Todd ZullingerMay 20, 2017
  3. Junio C HamanoMay 20, 2017

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.