Re: [PATCH] revisions.txt: mention <rev>~ form
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Apr 22, 2019, 09:59 UTC
- Message-ID
- <CACsJy8DB3k=9PaQT4CBz-K3=yjQ1oJAtz6p00PAOjy047XvAyA@mail.gmail.com>
- In-Reply-To
- <18c8ed70602271a28c93df922eb3da8fb7563e2e.1555913472.git.liu.denton@gmail.com>
On Mon, Apr 22, 2019 at 1:14 PM Denton Liu <liu.denton@gmail.com> wrote:
Show 5 quoted lines
> > In revisions.txt, the '<rev>^' form is mentioned but the '<rev>~' form > is missing. Although both forms are essentially equivalent (they each > get the first parent of the specified revision), we should mention the > latter for completeness. Make this change.
Do we really support this, or is it a bug in rev parsing code that treats <rev>~ like <rev>~1?
Hmm.. digging... ah 621ff67594 (rev-parse: fix meaning of rev~ vs rev~0., 2008-03-14) at least it's not an unintended bahaviour.
-- Duy