Re: [PATCH] diff: document what --name-only shows

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


Nathan Faulkner <natedogith1@xxxxxxxxx> writes:

> This new description sounds to me like it only shows files that exist
> in the to-commit, not any files that were deleted.


The thing is "diff" works on pair of files from old side and new
side, so a removed path still conceptually exists on both sides as a
change from

    <old path name, old state (has certain contents)>


    <new path name, new state (no longer exists)>

It is the same story for a created path.

Having learned that, a proposal to rephrase the updated
documentation is very much welcomed.


[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