From: Yann Dirson <dirson@bertin.fr>
To: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: Junio C Hamano <gitster@pobox.com>,
Felipe Contreras <felipe.contreras@gmail.com>,
Johannes Sixt <j.sixt@viscovery.net>,
Git List <git@vger.kernel.org>
Subject: Re: Itches with the current rev spec
Date: Mon, 29 Apr 2013 17:37:26 +0200 [thread overview]
Message-ID: <20130429173726.04cb5ac5@chalon.bertin.fr> (raw)
In-Reply-To: <CALkWK0=W_FxDwc3Tby=h90yc5i8UEuT7maERahFRDQU=hQ633g@mail.gmail.com>
On Mon, 29 Apr 2013 20:38:03 +0530 Ramkumar Ramachandra <artagnon@gmail.com> wrote:
> 3. "Range" is not an inherent property of A..B or A...B. There are no
> "revision ranges".
Well, that could be seen as a problem, the .. syntax being commonly associated
with the concept of range.
> 4. Every command is free to interpret positive and negative commits as
> it sees fit. Since there is no ordering, it must never treat one
> negative commit differently from another negative commit, or one
> positive commit differently from another positive commit.
>
> show takes a list of positive commits and shows all of them.
>
> log will show all the commits reachable from positive commits, and
> exclude all the commits reachable from negative commits. Here, the
> "list of commits" are interpreted differently from the show case.
>
> diff can either take two positive commits or one positive + one
> negative commit. In the latter case, it swaps the arguments and
> treats both as positive commits.
>
> rebase can take one negative commit and one positive commit. The
> commits reachable from the positive commit, but not from the negative
> commit are replayed onto the negative commit. Now, we can use --onto=
> to override the commit onto which to replay. But the fundamental
> constraint remains: rebase _cannot_ make this --onto= parameter part
> of the normal rev spec (we only have two types of commits: positive
> and negative to which we can assign different meanings).
> --
Don't forget the particular situation of cherry-pick, which shows a situation
where we may want to specify a set of single commits and ranges, but for which
the current mechanisms cause a problem.
See: http://thread.gmane.org/gmane.comp.version-control.git/199994/focus=200058
--
Yann Dirson - Bertin Technologies
next prev parent reply other threads:[~2013-04-29 15:37 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-25 5:07 Itches with the current rev spec Ramkumar Ramachandra
2013-04-25 5:54 ` Ramkumar Ramachandra
2013-04-25 8:22 ` Matthieu Moy
2013-04-25 8:48 ` Felipe Contreras
2013-04-25 11:06 ` Ramkumar Ramachandra
2013-04-29 14:00 ` Michael J Gruber
2013-04-25 9:09 ` Andreas Schwab
2013-04-25 9:13 ` Ramkumar Ramachandra
2013-04-25 19:08 ` Phil Hord
2013-04-26 8:19 ` Yann Dirson
2013-04-26 8:43 ` Johannes Sixt
2013-04-26 12:33 ` Ramkumar Ramachandra
2013-04-26 17:49 ` Junio C Hamano
2013-04-26 19:48 ` Felipe Contreras
2013-04-26 21:13 ` Junio C Hamano
2013-04-29 15:08 ` Ramkumar Ramachandra
2013-04-29 15:37 ` Yann Dirson [this message]
2013-04-29 16:05 ` Junio C Hamano
2013-04-29 17:14 ` Ramkumar Ramachandra
2013-04-29 17:33 ` Junio C Hamano
2013-04-29 19:10 ` Ramkumar Ramachandra
2013-04-29 19:23 ` Ramkumar Ramachandra
2013-04-30 4:02 ` Junio C Hamano
2013-04-29 15:20 ` Ramkumar Ramachandra
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=20130429173726.04cb5ac5@chalon.bertin.fr \
--to=dirson@bertin.fr \
--cc=artagnon@gmail.com \
--cc=felipe.contreras@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=j.sixt@viscovery.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.