threads / discuss / 52330

git rebase with rebase-merges option creates bad ref names

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

## tl;dr

2 messages between Nov 25, 2019 and Nov 26, 2019.

replies: 1people: 2as markdown or json

Robert Blenis· Nov 25, 2019, 13:31 UTC · lore

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 Thank you, Robert Blenis

Johannes Schindelin· Nov 26, 2019, 21:55 UTC · re: Robert Blenis · lore

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

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

← back to recent threads