From: Nico Williams <nico@cryptonector.com>
To: Tony Finch <dot@dotat.at>
Cc: "Jakub Narębski" <jnareb@gmail.com>,
"Jonathan Nieder" <jrnieder@gmail.com>,
"Mike Stump" <mikestump@comcast.net>,
"git discussion list" <git@vger.kernel.org>
Subject: Re: "Branch objects" (was: Re: cherry picking and merge)
Date: Thu, 7 Aug 2014 10:58:29 -0500 [thread overview]
Message-ID: <20140807155828.GM23449@localhost> (raw)
In-Reply-To: <alpine.LSU.2.00.1408071222510.13901@hermes-1.csi.cam.ac.uk>
On Thu, Aug 07, 2014 at 12:38:48PM +0100, Tony Finch wrote:
> I have been fiddling around in this area.
>
> What I want to be able to do is develop fixes for open source code
> that I run, and get those fixes upstream. This means I need a rebasing
> workflow, to keep the patches up-to-date and to deal with code review
> feedback.
Right.
> But this is inconvenient for deploying the patched version to
> production (which is the point of developing the fixes) - I want a
I'm not sure I follow this. You deploy what you build, and you build
the HEAD of the production branch, whatever that is. If it gets
rebased, so it it does.
> fast-forwarding branch for that. And it would be nice to be able to
> share the history of the patch series, so others can see what changed
> between revisions more easily.
But yes, it's nice to have a history of all the rebases. For example:
so you can show the work you've done (rebasing to please an upstream is
work).
The reflog does this, of course, but you can't push it. Of course, my
conception of branch object wouldn't push rebase history to an upstream
that doesn't want it, but you could push it to repos that do.
> So I have a small tool which maintains a publication branch which
> tracks the head of a rebasing branch. It's reasonably satisfactory so
> far...
>
> https://git.csx.cam.ac.uk/x/ucs/git/git-repub.git
Yeah, that's useful.
Nico
--
next prev parent reply other threads:[~2014-08-07 15:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-06 18:31 "Branch objects" (was: Re: cherry picking and merge) Jakub Narębski
2014-08-06 20:07 ` Nico Williams
2014-08-07 11:38 ` Tony Finch
2014-08-07 15:58 ` Nico Williams [this message]
2014-08-07 16:42 ` Tony Finch
2014-08-07 17:22 ` Nico Williams
2014-08-07 17:47 ` Tony Finch
2014-08-07 22:54 ` Nico Williams
2014-08-07 22:59 ` Nico Williams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140807155828.GM23449@localhost \
--to=nico@cryptonector.com \
--cc=dot@dotat.at \
--cc=git@vger.kernel.org \
--cc=jnareb@gmail.com \
--cc=jrnieder@gmail.com \
--cc=mikestump@comcast.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).