All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Shawn O. Pearce" <spearce@spearce.org>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] A new merge stragety 'subtree'.
Date: Sat, 17 Feb 2007 03:53:05 -0500	[thread overview]
Message-ID: <20070217085305.GF27864@spearce.org> (raw)
In-Reply-To: <7vzm7duqzf.fsf@assigned-by-dhcp.cox.net>

Junio C Hamano <junkio@cox.net> wrote:
> "Shawn O. Pearce" <spearce@spearce.org> writes:
> > To avoid pulling the entire git.git history into git-gui, I'd ask
> > that anyone bypassing me (e.g. if I'm being horribly unresponsive
> > one week) checkout the git-gui branch from git.git, apply the
> > change(s) there, then merge that branch into git.git using the
> > subtree strategy.
> 
> Actually, I do not think you even need to ask them to do that.
> I am not planning to apply patches to git.git that touch
> git-gui/ subdirectory myself, but if you see such a patch on the
> list, you could first apply it to your copy of git.git
> repository, and run your private edition of cherry-pick that
> uses merge-subtree instead of merge-recursive to pick it out
> onto your 'master' branch of git-gui.git repository.  That way,
> the next time I'll pull from your git-gui.git repository, I will
> get the change through you.

Or... I/we implement -p2 in git-am.  Then I can apply it right to
my git-gui repository.  :-)

Wait, isn't there a patch floating around for that?
Wasn't it sent in by Andy Parkins just before 1.5.0?

Just for the record: I am perfectly happy taking patches for git-gui
that were made against the git.git repository.  Obviously I can
easily apply it onto git-gui.git by stripping the path.  I'm also
happy directly pulling worthwhile commits, but I won't pull something
that is based on a git.git commit, for the reason stated above.
 
> And the procedure would actually work _even_ _if_ (repeat, I do
> not plan to do this) I applied such a patch to my tree before I
> pull from you --- it will just result in an accidental clean
> merge.

Yes, of course.  One of the insanely nice things about git. :)

-- 
Shawn.

  reply	other threads:[~2007-02-17  8:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-17  1:49 [PATCH] A new merge stragety 'subtree' Junio C Hamano
2007-02-17  7:14 ` Shawn O. Pearce
2007-02-17  8:29   ` Junio C Hamano
2007-02-17  8:53     ` Shawn O. Pearce [this message]
2007-02-17 18:02       ` Junio C Hamano
2007-02-17  8:45 ` Shawn O. Pearce
2007-02-17  8:51   ` Junio C Hamano
2007-02-17  9:02     ` Shawn O. Pearce
2007-02-17 18:04       ` Junio C Hamano

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=20070217085305.GF27864@spearce.org \
    --to=spearce@spearce.org \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.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 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.