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

How to request a fast-forward pull

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Aug 20, 2012, 20:40 UTC
Message-ID
<20120820204033.GA636@mannheim-rule.local>
In-Reply-To
<20120820202803.GA8378@windriver.com>
Hi gitsters,
Paul Gortmaker wrote:
Show 15 quoted lines
> When you have a moment, would you please migrate this
> across to your main linux-stable repository?
>
> Both a branch and signed tag are present and pointing at
> the same commit, but "git request-pull" does favour output
> of the tag over the branch name.
>
> But merging the tag will want to create a merge commit.
>
> So, to avoid a merge commit in your repo, you can fetch
> (fast fwd) into your (local) branch from my branch at:
>
>  git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux-stable.git linux-2.6.34.y
>
> and then fetch the signed tag listed below after that.

Can this be made easier? I could imagine request-pull learning --ff-only that generates a message like

	Greg,
	Please pull --ff-only
	 git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux-stable.git linux-2.6.34.y
	to get the following changes [...]

which could work ok if the recipient notices the --ff-only, but I wonder if there is a simpler way.

Thanks for the food for thought, Jonathan

Next: Jeff King
Message 1 of 4 in “How to request a fast-forward pull”
  1. Jonathan NiederAug 20, 2012
  2. Jeff KingAug 21, 2012
  3. Junio C HamanoAug 21, 2012
  4. Ben HutchingsAug 23, 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.