gitk: Display dirty submodules correctly
authorJens Lehmann <Jens.Lehmann@web.de>
Fri, 9 Apr 2010 20:16:42 +0000 (22:16 +0200)
committerPaul Mackerras <paulus@samba.org>
Sat, 17 Apr 2010 08:53:24 +0000 (18:53 +1000)
commita1d383c5ab90ec19c8a77158f65e5ea7d61fb42c
tree9d009228e2588d20805379855b6d1bbba18efd4b
parente7d516b67b02cfc4c18408d2d39118c61345bf6d
gitk: Display dirty submodules correctly

Since recently "git diff --submodule" prints out extra lines when the
submodule contains untracked or modified files. Show all those lines of
one submodule under the same header.

Also for newly added or removed submodules the submodule name contained
trailing garbage because the extraction of the name was not done right.

Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk