Re: git diff across submodules

2012-09-20 Thread Jens Lehmann
Am 20.09.2012 00:31, schrieb Junio C Hamano: Junio C Hamano gits...@pobox.com writes: I also suspect that you do not have to change git diff at all to show the patch recursively by using the attribute mechanism (look in Documentation/gitattributes.text for a string GIT_EXTERNAL_DIFF). It

Re: git diff across submodules

2012-09-20 Thread Junio C Hamano
Jens Lehmann jens.lehm...@web.de writes: That's pretty cool! Even though diff options like --stat and --name-only still won't take into account what happened inside the submodule this approach makes it possible to see the diff recursively. Wouldn't it make sense add this script to contrib

Re: git diff across submodules

2012-09-18 Thread Jens Lehmann
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

Re: git diff across submodules

2012-09-18 Thread Junio C Hamano
Jens Lehmann jens.lehm...@web.de writes: 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

git diff across submodules

2012-09-17 Thread Kenny Simpson
Hello, 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