Re: git log --name-only improvement: show old file name in rename

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



@Ed
On 12/06/2020 00:16, Junio C Hamano wrote:
> Ed Avis <ed.avis@xxxxxxxx> writes:
>
>> The git-log manual page says
>>
>>        --name-only
>>            Show only names of changed files.
>>
>> But when a file has been renamed, only the new name is printed, not the 
>> old.  I think it would be more useful and more correct to print both 
>> names. 
Was this a concern that the manual did not clarify which name (old or
new) was being reported?
Philip

> It is just you who thinks it would be more useful.
>
> Scripts written by people over the last 10 years that expect to see
> new name would certainly hate to see two names start appearing
> there.
>
> Perhaps you can use --summary at the same time?




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux