From: David Woodhouse <dwmw2@infradead.org>
To: Junio C Hamano <junkio@cox.net>
Cc: Alex Riesen <raa.lkml@gmail.com>, git@vger.kernel.org
Subject: Re: 'upstream' branches.
Date: Sun, 06 May 2007 09:39:19 +0100 [thread overview]
Message-ID: <1178440759.17680.112.camel@shinybook.infradead.org> (raw)
In-Reply-To: <7vy7k2e606.fsf@assigned-by-dhcp.cox.net>
On Sun, 2007-05-06 at 01:00 -0700, Junio C Hamano wrote:
> Ahh, I did not mean by "mtd's idea" _your_ repository, but I
> meant whichever one that was overwriting your 'linus' tracking
> branch you are using to track fetch from Linus's tree.
Ah, right.
> The cleanest way to view "what do we really have since the
> latest of Linus, regardless of how and from whom we learned
> where the tip of Linus is", would be not to let other trees to
> disturb the tracking branch you use for Linus's tree with each
> other.
>
> [remote "a"] fetch = refs/heads/linus:refs/remotes/a/linus
> [remote "b"] fetch = refs/heads/linus:refs/remotes/b/linus
> [remote "c"] fetch = refs/heads/linus:refs/remotes/c/linus
> ...
You're speaking from the point of view of the git implementation.
>From the point of view of the _user_, I would violently disagree :)
Having pulled that into my local repository, how do I then set it up to
push the latest commit of refs/remotes/*/linus into the 'linus' branch
of the origin, when I push back to my public tree on the server? Or do
you expect _everyone_ who pulls from that public tree to also do stuff
like:
> git log master --not remotes/a/linus remotes/b/linus remotes/c/linus
Can't I instruct it to _merge_ the 'linus' branch of each remote into my
own 'linus' branch? Of course that merge would only ever be a
fast-forward or a no-op, in practice.
--
dwmw2
next prev parent reply other threads:[~2007-05-06 8:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-05 12:29 'upstream' branches David Woodhouse
2007-05-05 17:44 ` Alex Riesen
2007-05-05 17:50 ` David Woodhouse
2007-05-05 22:52 ` Alex Riesen
2007-05-06 6:36 ` Junio C Hamano
2007-05-06 7:35 ` David Woodhouse
2007-05-06 8:00 ` Junio C Hamano
2007-05-06 8:39 ` David Woodhouse [this message]
2007-05-07 1:20 ` Junio C Hamano
2007-05-07 8:51 ` David Woodhouse
2007-05-06 9:21 ` Alex Riesen
2007-05-07 7:40 ` Junio C Hamano
2007-05-07 8:39 ` Alex Riesen
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=1178440759.17680.112.camel@shinybook.infradead.org \
--to=dwmw2@infradead.org \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
--cc=raa.lkml@gmail.com \
/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).