Add the --submodule-summary option to the diff option family
commitac56a477322ca54c98378dc7901598ade81fac15
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 4 Oct 2009 15:05:31 +0000 (4 17:05 +0200)
committerJens Lehmann <Jens.Lehmann@web.de>
Sun, 4 Oct 2009 15:46:27 +0000 (4 17:46 +0200)
treecab571fd945edcd447c89f9ae5d681c0148646fb
parentd29f7696078966501d89487aeb7133925517ef31
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]