From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: extracting commits from Elpa to original repo
Date: Wed, 24 Dec 2014 07:43:19 -0500 [thread overview]
Message-ID: <m2ioh1b4m0.fsf@lifelogs.com> (raw)
In-Reply-To: 87k31ld1e9.fsf@ericabrahamsen.net
On Sun, 21 Dec 2014 13:20:46 +0800 Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
EA> I'd like to get Stefan's patch into my general Gnorb repo, in such a way
EA> that it doesn't create any conflicts or confusion the next time I pull
EA> into Elpa. I created a patch for his commit, but it doesn't apply
EA> cleanly to my other repo, and I suspect that fixing it up so that it
EA> does will simply defer the mess. I'll admit I've reached the limit of my
EA> git abilities.
EA> Can anyone provide some advice on what to do in this situation? Besides
EA> "develop your next package directly in the Elpa tree"?
So you basically want Stefan's patch to end up on your side with the
same commit ID, so you can merge back and forth (preserving a 1-to-1
relationship between the two sides). From the `git subtree' docs for the
"split" sub-operation:
Repeated splits of exactly the same history are
guaranteed to be identical (i.e. to produce the same
commit ids). Because of this, if you add new commits
and then re-split, the new commits will be attached as
commits on top of the history you generated last time,
so 'git merge' and friends will work as expected.
IOW, don't import the commit as a patch, but use `git subtree' to
synchronize. I hope that helps.
Ted
prev parent reply other threads:[~2014-12-24 12:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-21 5:20 extracting commits from Elpa to original repo Eric Abrahamsen
2014-12-21 14:33 ` Stefan Monnier
2014-12-21 15:19 ` Dmitry Gutov
2014-12-22 1:41 ` Eric Abrahamsen
2014-12-22 2:10 ` Dmitry Gutov
2014-12-24 12:43 ` Ted Zlatanov [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ioh1b4m0.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=emacs-devel@gnu.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).