Add the --submodule-summary option to the diff option family
commit0ce92faffd1f79e5124f9fa81b179eb144ece91c
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 4 Oct 2009 14:43:14 +0000 (4 16:43 +0200)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 5 Oct 2009 09:10:24 +0000 (5 11:10 +0200)
treee6d59a2c48f12b9214e1d948221f8c8e2fed8c91
parent8ea19b84bb1f9ac9d7a8697116403b76d4824d33
Add the --submodule-summary option to the diff option family

Now you can see the submodule summaries inlined in the diff, instead of
not-quite-helpful SHA-1 pairs.

The format imitates what "git submodule summary" shows.

To do that, <path>/.git/objects/ is added to the alternate object
databases (if that directory exists).

This option was requested by Jens Lehmann at the GitTogether in Berlin.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Documentation/diff-options.txt
Makefile
diff.c
diff.h
submodule.c [new file with mode: 0644]
submodule.h [new file with mode: 0644]