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

[BUG] rebase should desambiguate abbreviated hashes before starting

From
YDYann Dirson <dirson@bertin.fr>
Date
Jun 27, 2013, 08:55 UTC
Message-ID
<20130627105513.6bf84060@chalon.bertin.fr>

I just ran into a funny edge-case when doing a long rebase: one of the rewritten commits got a sha1 starting with one of the abbreviated sha1's of a commit still to be applied.

As a result, the rebase stopped with a funny-looking "short SHA1 ... was ambiguous", which would not have occured if the shortened sha1's presented to the user were expanded to full sha1's before starting the rebase.

-- 
Yann Dirson - Bertin Technologies
Next: David
Message 1 of 6 in “[BUG] rebase should desambiguate abbreviated hashes before starting”
  1. Yann DirsonJun 27, 2013
  2. DavidJun 27, 2013
  3. Matthieu MoyJun 27, 2013
  4. DavidJun 27, 2013
  5. Junio C HamanoJun 27, 2013
  6. Junio C HamanoJun 27, 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.