gitk: Don't compare fake children when comparing commits
commitaa43561ac0c18dd6d200afe3a02e4e6c7e4beeae
authorPaul Mackerras <paulus@samba.org>
Thu, 10 Sep 2009 11:58:40 +0000 (10 21:58 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 10 Sep 2009 11:58:40 +0000 (10 21:58 +1000)
tree7a6df6ed664589b60f30e405b746769e6d0863f2
parent4a3da5d91a4768a8abe6a8c64f1c3a49125a5bcf
gitk: Don't compare fake children when comparing commits

This fixes a bug where the compare-commits function would advance
to a fake node (one representing local changes, either checked in
but not committed, or not checked in) and then get an error when
trying to get the patch-id.  This fixes it by only considering the
real children of each commit.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk