All of lore.kernel.org
 help / color / mirror / Atom feed
From: Raimund Bauer <ray007@gmx.net>
To: Daniel Barkalow <barkalow@iabervon.org>
Cc: David Jeske <jeske@willowmail.com>, Theodore Tso <tytso@mit.edu>,
	git@vger.kernel.org
Subject: Re: policy and mechanism for less-connected clients
Date: Wed, 25 Jun 2008 22:12:54 +0200	[thread overview]
Message-ID: <1214424774.6570.21.camel@doriath> (raw)
In-Reply-To: <alpine.LNX.1.00.0806251421520.19665@iabervon.org>

On Wed, 2008-06-25 at 15:17 -0400, Daniel Barkalow wrote:

> You have a fundamental misconception about git's data model. A commit 
> doesn't have a particular branch it is on. There is only the DAG, where 
> each node is a commit that is structured identically to all of the other 
> commits. Branches pick out particular nodes in the DAG at particular 
> times.

But a branch in repository also has a local history. The ref-log.
And git could use that to produce a distributed branch-history.

<wishful thinking>

A developer prepares a series of commits in a local branch to push to
the server.
On the server the ref-log of a branch gets updated with a new entry for
each push, and other developers pulling from the server get the servers
ref-log as ref-log of their remote tracking branch and can see the
push-points there.

Those push-points seem to be somehow more important than other commits -
there was a reason for the first developer to push right this branch
tip, right?
Seems like valuable (optional) information to me.

</wishful thinking>

> It therefore doesn't make any sense to ask if a commit is directly hanging 
> off of master. If your local branch is up to date, and you commit, your 
> commit's parent is the current master. If you now check out master and 
> merge your local branch, master gets the same (non-merge) commit.

Check if the commit is in master's ref-log?

regards,
Ray

  reply	other threads:[~2008-06-25 20:13 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <willow-jeske-01l6@3PlFEDjCVAh-01l6@3N@FEDjCXZO>
2008-06-25  2:33 ` policy and mechanism for less-connected clients Theodore Tso
2008-06-25  5:20   ` David Jeske
2008-06-25 19:17     ` Daniel Barkalow
2008-06-25 20:12       ` Raimund Bauer [this message]
2008-06-25  5:20   ` David Jeske
2008-06-25  9:30     ` Jakub Narebski
     [not found] <willow-jeske-01l6@3PlFEDjCVAh-01l6rSE7FEDjCYv6>
2008-06-26 11:37 ` Theodore Tso
2008-06-26 16:21   ` David Jeske
2008-06-26 16:21   ` David Jeske
     [not found] <willow-jeske-01l6@3PlFEDjCVAh-01l6it3ZFEDjCd5X>
2008-06-26  5:23 ` Theodore Tso
2008-06-26  5:26   ` Junio C Hamano
2008-06-26  6:08   ` David Jeske
2008-06-26  6:08   ` David Jeske
2008-06-25 14:03 Petr Baudis
     [not found] <willow-jeske-01l6@3PlFEDjCVAh-01l6OB5yFEDjCYe3>
2008-06-25 13:34 ` Theodore Tso
2008-06-25 17:34   ` Junio C Hamano
2008-06-25 19:37   ` David Jeske
2008-06-25 20:52     ` Jakub Narebski
2008-06-25 20:54     ` Jakub Narebski
2008-06-25 19:37   ` David Jeske
2008-06-25 21:34     ` David Jeske
2008-06-25 21:34     ` David Jeske
2008-06-25 22:10       ` Jakub Narebski
2008-06-25 22:13       ` Junio C Hamano
2008-06-25 23:03         ` David Jeske
2008-06-25 23:03         ` David Jeske
  -- strict thread matches above, loose matches on Subject: below --
2008-06-25  0:36 David Jeske
2008-06-25  0:36 David Jeske

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=1214424774.6570.21.camel@doriath \
    --to=ray007@gmx.net \
    --cc=barkalow@iabervon.org \
    --cc=git@vger.kernel.org \
    --cc=jeske@willowmail.com \
    --cc=tytso@mit.edu \
    /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.