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

Re: git rebase with rebase-merges option creates bad ref names

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 26, 2019, 21:55 UTC
Message-ID
<nycvar.QRO.7.76.6.1911262254420.31080@tvgsbejvaqbjf.bet>
In-Reply-To
<CAPbTjvcPCZG---tkyQW8dCd5=LYhGmhpYg5MQSX5BPr+HEG2jw@mail.gmail.com>
Hi Robert,
On Mon, 25 Nov 2019, Robert Blenis wrote:
Show 6 quoted lines
> using command 'git rebase -i -r DEST' fails with "error: refusing to
> update ref with bad name 'refs/rewritten/Release-170-1020-Rev-D.'"
> git is taking the commit message and turning it into a reference name
> that is not valid (because of the period in the message)! This
> requires a bunch of manual editing of the todo list. git version
> 2.24.0

Could you verify that the patch under discussion at https://github.com/gitgitgadget/git/pull/327 fixes the issue for you?

Ciao, Johannes

Previous: Robert Blenis
Message 2 of 2 in “git rebase with rebase-merges option creates bad ref names”
  1. Robert BlenisNov 25, 2019
  2. Johannes SchindelinNov 26, 2019

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.