git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git diff --submodule=diff and --stat/--dirstat/--name-only
@ 2020-10-14 10:14 Marc Sune
  2020-10-14 13:29 ` Philippe Blain
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Sune @ 2020-10-14 10:14 UTC (permalink / raw)
  To: git

Hello all,

First, thank you to the community for the great work. Worth saying it
from time to time, I think.

I am dealing with a couple of big repositories that use git
submodules. They have nested submodules, and some of them are pretty
huge. I came across:

git diff --submodule=diff

Which is very handy for creating some tooling, but it's obviously slow
- in the order of tens of minutes in my case - for big diffs. I was
only interested in the list files that changed, in this particular
case, but:

git diff --stat --submodule=diff

doesn't seem to honour `--submodule=diff` and it doesn't go into the
submodule(s) nor recurses, of course. Other options like `--dirstat`
or `--name-only` seem to behave the same way.

I've tried this v2.20.1 and the HEAD of master (d4a392452e) with the
same results. Is this a missing feature, a bug or is it just the
intended behaviour?

Regards
marc

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-10-15  1:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-14 10:14 git diff --submodule=diff and --stat/--dirstat/--name-only Marc Sune
2020-10-14 13:29 ` Philippe Blain
2020-10-14 14:35   ` Marc Sune
2020-10-14 22:51     ` Philippe Blain
2020-10-14 22:59       ` Marc Sune

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).