unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-devel@gnu.org
Subject: Re: extracting commits from Elpa to original repo
Date: Mon, 22 Dec 2014 09:41:11 +0800	[thread overview]
Message-ID: <87y4q0bgw8.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 86ppbdvxmu.fsf@yandex.ru

Dmitry Gutov <dgutov@yandex.ru> writes:

> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> I also used the "subtree split" command to create a separate branch
>> within Elpa containing only the commits made on "packages/gnorb".
>>
>> I'd like to get Stefan's patch into my general Gnorb repo, in such a way
>> that it doesn't create any conflicts or confusion the next time I pull
>> into Elpa. I created a patch for his commit, but it doesn't apply
>> cleanly to my other repo, and I suspect that fixing it up so that it
>> does will simply defer the mess.
>
> Why doesn't it? But anyway, you should fix it up and push, and then
> solve any conflicts that might arise in the next merge.

Because his patch was from a month ago, and many things have changed
since then. Maybe a regular merge and push would end up okay. I just
don't have that much confidence in my command of git.

> The 'git subtree push' workflow described in the article you've linked
> to can work too, in certain cases, but IIUC it only works well if the
> separate repo was originally made from a split (otherwise you risk
> pushing the whole elpa history into the external repo).

Which I nearly did yesterday! This seems like more work than it's worth
-- I'll look into de-subtree-ing this package.

Thanks,
Eric




  reply	other threads:[~2014-12-22  1:41 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 [this message]
2014-12-22  2:10     ` Dmitry Gutov
2014-12-24 12:43 ` Ted Zlatanov

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=87y4q0bgw8.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --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).