git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>, git@vger.kernel.org
Subject: Re: Suggestion: make --left-right work with --merge
Date: Sat, 1 Mar 2008 21:59:01 +1100	[thread overview]
Message-ID: <18377.14069.25974.10203@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <7vejau6fvf.fsf@gitster.siamese.dyndns.org>

Junio C Hamano writes:

> I think your "gitk passes the IDs" part is about the master...next part in
> the above example.  I do not think it really matters if they are converted
> to object names or kept symbolic when given to "git log".

The only time it would matter is if they were kept symbolic AND
somehow the user changed them between the git rev-parse (or git
rev-list) invocation and the git log invocation.

> Come to think of it, when you are told to "Update", you already know the
> positive tips you can use to optimize (4), don't you?  They are the
> commits you drew in (3) that do not have children.

It's possible the user could do "Update" before we had finished
reading stuff from the first git log, so I don't necessarily know all
the commits that have no children.  And in fact that's a reasonable
thing to do if gitk is being used on a really really large
repository.

I'm a kernel guy - I worry about race conditions. :)

Thanks for the tip about git rev-list --no-walk.

Paul.

  reply	other threads:[~2008-03-01 10:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-27  2:49 Suggestion: make --left-right work with --merge Paul Mackerras
2008-02-27  7:18 ` Junio C Hamano
2008-02-27 22:36   ` Paul Mackerras
2008-02-27 22:50     ` Junio C Hamano
2008-02-28 11:21       ` Paul Mackerras
2008-02-29  7:32         ` Junio C Hamano
2008-02-29 10:52           ` Paul Mackerras
2008-02-29 19:26             ` Junio C Hamano
2008-03-01  7:39               ` Paul Mackerras
2008-03-01  7:52                 ` Junio C Hamano
2008-03-01 10:59                   ` Paul Mackerras [this message]
2008-02-29 21:05             ` Linus Torvalds
2008-02-29  7:49     ` 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=18377.14069.25974.10203@cargo.ozlabs.ibm.com \
    --to=paulus@samba.org \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=torvalds@linux-foundation.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.
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).