All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Paugh <jpaugh@gmx.us>
To: Miles Bader <miles@gnu.org>
Cc: Andreas Schwab <schwab@linux-m68k.org>,
	Philip Oakley <philipoakley@iee.org>,
	Jakub Narebski <jnareb@gmail.com>,
	Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>,
	git@vger.kernel.org
Subject: Re: Specifying revisions in the future
Date: Tue, 07 Feb 2012 16:25:32 -0500	[thread overview]
Message-ID: <4F3196CC.9020406@gmx.us> (raw)
In-Reply-To: <buosjiozity.fsf@dhlpc061.dev.necel.com>

On 02/05/2012 11:28 PM, Miles Bader wrote:
> Andreas Schwab <schwab@linux-m68k.org> writes:
>> The rule should be to follow the leftmost parent as far as possible.
>> That means that X+2->D is B.
> 
> It might also be reasonable (and safer -- the user may not actually
> realize when there's an ambiguating branch-point) to simply have it
> abort with an error ("ambiguous future-ref specification") when
> there's any doubt...  I suspect most uses would be very simple "+1"
> etc., and not crossing branch points.
> 
> -miles
> 

Perhaps default to --linear or --no-cross or such. Whenever there's
ambiguity, it will likely be harder for the user to think about than for
git to resolve it in some defined-as-sane way, at least for many users.

At any rate, I got the answer I needed for my use case (sorry for not
cc-ing the list, and thanks Jakub for that:
http://article.gmane.org/gmane.comp.version-control.git/189926/match=specify+revisions+future).

Still, forward-refs would still be really cool.

Jonathan

  reply	other threads:[~2012-02-07 21:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-04 15:58 Specifying revisions in the future jpaugh
2012-02-05  2:44 ` Jakub Narebski
     [not found]   ` <4F2DEF89.4030302@gmx.us>
2012-02-05  3:07     ` Jakub Narebski
2012-02-05 20:18 ` Matthieu Moy
2012-02-05 21:37   ` Andreas Schwab
2012-02-05 21:57     ` Jakub Narebski
2012-02-05 22:15       ` Andreas Schwab
2012-02-05 22:24         ` Jakub Narebski
2012-02-05 22:58           ` Andreas Schwab
2012-02-05 22:58           ` Philip Oakley
2012-02-05 23:08             ` Andreas Schwab
2012-02-06  4:28               ` Miles Bader
2012-02-07 21:25                 ` Jonathan Paugh [this message]
2012-02-06 11:43               ` Matthieu Moy
2012-02-06 12:27                 ` Andreas Schwab
2012-02-05 21:59     ` 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=4F3196CC.9020406@gmx.us \
    --to=jpaugh@gmx.us \
    --cc=Matthieu.Moy@grenoble-inp.fr \
    --cc=git@vger.kernel.org \
    --cc=jnareb@gmail.com \
    --cc=miles@gnu.org \
    --cc=philipoakley@iee.org \
    --cc=schwab@linux-m68k.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 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.