git-gui: fix diff for partially staged submodule changes
commitc44e0e86645d1c9a7779c97b1b1196a3f5e80c31
authorJens Lehmann <Jens.Lehmann@web.de>
Thu, 20 Aug 2009 19:23:48 +0000 (20 21:23 +0200)
committerJens Lehmann <Jens.Lehmann@web.de>
Sun, 4 Oct 2009 15:45:22 +0000 (4 17:45 +0200)
treef822018d7b010030b3a1ecdb0b321db50d462c9c
parent82c0f81c32e4f28cbaf6bb46d85982617eb5eec3
git-gui: fix diff for partially staged submodule changes

When a submodule commit had already been staged and another commit had
been checked out inside the submodule, the diff always displayed the
submodule commit log messages between the last supermodule commit and
the working tree, totally ignoring the commit in the index.

Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
git-gui/lib/diff.tcl