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

Re: Merging tags does not fast-forward with git 1.7.9

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 9, 2012, 18:05 UTC
Message-ID
<7v4nuzyj98.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20120209095415.GA19230@glitch>
Domenico Andreoli <cavokz@gmail.com> writes:
>   with the recent changes in tag merging (I updated git to 1.7.9),
> my usual "git merge v3.X-rcY" command does not fast-forward any more.

Making "merge $tag" always record the signed tag information was the whole point of the change in 1.7.9, so asking to merge a tag will *not* fast forward by default anymore. "git merge v3.X-rcY^0" is a usable workaround in the meantime; we are also cooking a fix for a typical case where you ask for "git merge --ff-only v3.X-rcY" explicitly. This errored out incorrectly, which was discovered and fixed early this week and is cooking in the 'next' branch. We would like to push it out as part of 1.7.9.1, and we would need help testing it. The more people test it sooner, the likelier people will see more solid 1.7.9.1 release sooner.

> The editor is instead fired off and I have to fill the details of a
> merge commit, diverging from mainline as soon as I save and exit.

Yes, that "diverging from mainline" is really bad, and that is why we need the fix to honor "--ff-only" (which is the way to make sure you do not diverge) tested quicly so that we can push 1.7.9.1 out.

Thanks.
Previous: Domenico Andreoli
Message 7 of 7 in “Merging tags does not fast-forward with git 1.7.9”
  1. Domenico AndreoliFeb 9, 2012
  2. Dan JohnsonFeb 9, 2012
  3. Domenico AndreoliFeb 9, 2012
  4. Andreas SchwabFeb 9, 2012
  5. Carlos Martín NietoFeb 9, 2012
  6. Domenico AndreoliFeb 9, 2012
  7. Junio C HamanoFeb 9, 2012

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.