submodule: display summary header in bold
commit4e215131d2543a28a065c5161438c315316f9961
authorRamkumar Ramachandra <artagnon@gmail.com>
Tue, 13 Nov 2012 15:42:47 +0000 (13 21:12 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Nov 2012 03:18:13 +0000 (18 19:18 -0800)
tree37f5f596557b6e15824b4ea1f0e76e8ad141b3b6
parentd9c552f17a28e5ab1b72135038d4888ea02651ea
submodule: display summary header in bold

Currently, 'git diff --submodule' displays output with a bold diff
header for non-submodules.  So this part is in bold:

    diff --git a/file1 b/file1
    index 30b2f6c..2638038 100644
    --- a/file1
    +++ b/file1

For submodules, the header looks like this:

    Submodule submodule1 012b072..248d0fd:

Unfortunately, it's easy to miss in the output because it's not bold.
Change this.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c
submodule.c
submodule.h