all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Elpa packages and Makefiles
Date: Wed, 08 Oct 2014 14:31:21 -0400	[thread overview]
Message-ID: <jwvmw96h0xe.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 87oatnxmm0.fsf@ericabrahamsen.net

> If I specify an Elpa package as a :subtree, is this a subtree in the
> sense of the actual "git subtree" command, or is this just a subtree
> merge?

:subtree means that the package is kept in the "master" branch of
elpa.git, in a subdirectory of `packages'.  And if there is a need to
merge from some external VCS, then the merge is typically done by
a "subtree merge".

> git subtree add --prefix packages/gnorb gnorb-remote master --squash

> or this:

> git checkout -b gnorb-branch gnorb-remote/master
> git read-tree --prefix=packages/gnorb -u gnorb-branch

I'm sorry, but I don't spend enough time with Git to know the difference
between these.  The way I do it, usually is by "git merge" which
sometimes doesn't put things at the right place (when it's the initial
importation of the package), so I then clean things up by hand.
The reason I prefer doing that is because I think I know what "git
merge" does, whereas I have difficulty understanding what "git
read-tree" or "git subtree" does.


        Stefan




  reply	other threads:[~2014-10-08 18:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-12  3:26 Elpa packages and Makefiles Eric Abrahamsen
2014-07-12 14:55 ` Grant Rettke
2014-07-13  1:39   ` Eric Abrahamsen
2014-07-18 16:23 ` Stefan Monnier
2014-07-19  0:26   ` Michael Heerdegen
2014-07-19  1:24   ` Eric Abrahamsen
2014-10-01 10:11   ` Eric Abrahamsen
2014-10-01 13:29     ` Stefan Monnier
2014-10-01 14:50       ` Eli Zaretskii
2014-10-01 17:06       ` Eric Abrahamsen
2014-10-08  3:32       ` Eric Abrahamsen
2014-10-08 18:31         ` Stefan Monnier [this message]
     [not found]         ` <mailman.10760.1412793114.1147.help-gnu-emacs@gnu.org>
2014-10-09 13:24           ` Ted Zlatanov
2014-10-09 14:40             ` Stefan Monnier
     [not found]             ` <mailman.10797.1412865640.1147.help-gnu-emacs@gnu.org>
2014-10-09 15:40               ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvmw96h0xe.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.