Re: git diff across submodules
- From
Jens Lehmann <jens.lehmann@web.de>
- Date
- Sep 18, 2012, 19:02 UTC
- Message-ID
- <5058C53B.5040401@web.de>
- In-Reply-To
- <1347937959.96154.YahooMailClassic@web39403.mail.mud.yahoo.com>
Am 18.09.2012 05:12, schrieb Kenny Simpson:
> Is there any nice way to get a diff and/or diffstat of both a project and its submodules between two revisions of the main project? > > Something like 'git diff --stat tag_a tag_b' but also including the diffstat on the submodule from the revision tied to in tag_a to the revision tied to tag_b. A few shell backflips will do it, but this seems like I'm missing something.
Unfortunately that isn't possible yet, "git diff" still has to learn the --recurse-submodules option. And as far as I know, nobody is currently working on that.