Re: git diff --name-only --submodule=diff combination does not work

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

 



On Tue, Sep 22, 2020 at 05:32:12PM -0400, Ilan Biala wrote:

> I expected adding --submodule=diff to add all the filenames in
> submodules that were modified, but the output just shows the submodule
> folder name, not all the files within the submodule that were
> modified.

OK. That does sound like a useful thing to show, but AFAIK there is not
currently a way to do so. Formats like --name-only and --raw are capable
of showing a diff for the submodule entry itself, so they do. And we'd
want to continue to be able to do that even when the diff.submodule
config option is set. So I suspect it would need to be something like
--submodule=name-only. I.e., allowing any diff format to be passed
there.

-Peff



[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