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

Re: [PATCH] rebase -i: respect to core.abbrev

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Sep 30, 2013, 21:36 UTC
Message-ID
<20130930213605.GZ9464@google.com>
In-Reply-To
<20130928211013.54361E0090@blue.fi.intel.com>
Kirill A. Shutemov wrote:
> collapse_todo_ids() uses `git rev-parse --short=7' to abbrev commit ids.
> Let's drop argument from --short to use default (7) or config value
> instead.

Since the todo ids are expanded immediately after the editor exits, there is not much risk of accidental hash collision due to new objects, so this should be safe.

Thanks, both.
Previous: Eric Sunshine
Message 4 of 4 in “rebase -i: respect to core.abbrev”
  1. rebase -i: respect to core.abbrevKirill A. Shutemov, Sep 28, 2013
  2. Kirill A. ShutemovSep 28, 2013
  3. Eric SunshineSep 29, 2013
  4. Jonathan NiederSep 30, 2013

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.