Re: [PATCH v6] diff.c: keep arrow(=>) on show_stats()'s shortened filename part to make rename visible.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 17, 2013, 22:38 UTC
- Message-ID
- <xmqqzjq7wmj7.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <B690713F-6FF1-46A7-85A7-C92303BBAF0E@gmail.com>
Yoshioka Tsuneo <yoshiokatsuneo@gmail.com> writes:
Show 7 quoted lines
> In the "[PATCH v7]", I changed to keep filename part of suffix to handle
> above case, but not always keep directory part because I feel totally
> keeping all part of long suffix including directory name may cause output like:
> …{… => …}…ongPath1/LongPath2/nameOfTheFileThatWasMoved
> And, above may be worse than:
> ...{...ceDirectory => …ionDirectory}.../nameOfTheFileThatWasMoved
> I think.I am not sure if I agree.
Losing LongPath2 part may be more significant data loss than losing a single bit that says the change is a rename, as the latter may not quite tell us what these two directories were anyway.