Re: [PATCH] diff: Fix rename pretty-print when suffix and prefix overlap
- From
Antoine Pelisse <apelisse@gmail.com>
- Date
- Feb 25, 2013, 22:41 UTC
- Message-ID
- <CALWbr2w47K0jqrKaQs3eTUtQ18_L5TrLR=BttspKACT7vCmWEA@mail.gmail.com>
- In-Reply-To
- <512BE787.1090901@iee.org>
Show 11 quoted lines
>>> In this example, the common prefix would be "a/b/" and the common
>>> suffix that does not overlap with the prefix part would be "/c", so
>>> I am imagining that "a/b/{ => b}/c" would be the desired output?
>>
>>
>> Yes, at least that's what I expected.
>
>
> Surely it would be "a/b/{b => }/c", that is, we have reduced the number of
> b's by one. Or am I misunderstanding something?
> (I'm guessing it was an all too obvious typo that was misread)Indeed, read to fast and reproduced in suggested new message. a/b/b/c => a/b/c is equivalent to a/b/{b => }/c
Thank you for proof-reading.