From: Antoine Pelisse Date: Mon, 25 Feb 2013 22:41:26 GMT Subject: Re: [PATCH] diff: Fix rename pretty-print when suffix and prefix overlap Message-ID: In-Reply-To: <512BE787.1090901@iee.org> >>> 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.