author | Johannes Schindelin <johannes.schindelin@gmx.de> | |
Mon, 19 Oct 2009 12:38:32 +0000 (14:38 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 20 Oct 2009 05:31:00 +0000 (22:31 -0700) | ||
commit | 752c0c24926aacbceca0d27de6ad22cbb7dd0709 | |
tree | 94fb54e076f11d2ef66d888cd8493e1520639ef3 | tree | snapshot |
parent | dbc1b1f71052c084a84b5c395e1cb4b5ae526fcb | commit | diff |
Add the --submodule option to the diff option family
When you use the option --submodule=log 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>
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When you use the option --submodule=log 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>
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-options.txt | diff | blob | history | |
Makefile | diff | blob | history | |
diff.c | diff | blob | history | |
diff.h | diff | blob | history | |
submodule.c | [new file with mode: 0644] | blob |
submodule.h | [new file with mode: 0644] | blob |