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

BUG Report: git branch ignore --no-abbrev flag

From
GWGuillaume Wenzek <guillaume.wenzek@gmail.com>
Date
Mar 8, 2017, 18:14 UTC
Message-ID
<CAAvNd=ir1qNQVaKphdg51AfGnsNgTrfvW2L6cca3SHiZrWNgHA@mail.gmail.com>

Hi, After updating to git 2.12.0 on Monday I noticed that the "git branch" wasn't behaving as usual. As of today `git branch -vv --no-abbrev` outputs short hashes instead of long one (as requested by --no-abbrev)[1]

git branch -vv --no-abbrev
* (HEAD detached at 2.12.1)                        1c69bf2 Add
recap-release since previous release messages didn't go out.
  master                                           eb70249
[origin/master] Fix: support parsing "git://" remote URI to Github URL
Expected output:
git branch --vv --no-abbrev
* (HEAD detached at 2.12.1)
1c69bf24be6de096d801435378be85a936ab0f29 Add recap-release since
previous release messages didn't go out.
  master
eb70249e724f933255b4d8c7096092f2764942b4 [origin/master] Fix: support
parsing "git://" remote URI to Github URL
[1] https://git-scm.com/docs/git-branch#git-branch---no-abbrev
I don't have any relevant configuration set.
Next: Junio C Hamano
Message 1 of 8 in “BUG Report: git branch ignore --no-abbrev flag”
  1. Guillaume WenzekMar 8, 2017
  2. Junio C HamanoMar 8, 2017
  3. Junio C HamanoMar 8, 2017
  4. branch: honor --abbrev/--no-abbrev in --list modeJunio C Hamano, Mar 8, 2017
  5. Jakub NarębskiMar 9, 2017
  6. Junio C HamanoMar 10, 2017
  7. Guillaume WenzekMar 9, 2017
  8. Jeff KingMar 9, 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.