git-gui: fix diff for partially staged submodule changes
commitaf413de47b8b285ffa489df14023180456986c05
authorJens Lehmann <Jens.Lehmann@web.de>
Wed, 26 Aug 2009 20:25:15 +0000 (26 22:25 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 27 Aug 2009 00:35:16 +0000 (26 17:35 -0700)
tree1b32e1ebb3eff2176b6bc543415e1128c6c472cd
parentb350e460daac075a676f6ca449a3b83c9dc37a25
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>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/diff.tcl