This page contains the following errors:

error on line 83 at column 46: Encoding error

Below is a rendering of the page up to the first error.

patthoyts.tk Git - gitk/commitdiff
gitk: Don't compare fake children when comparing commits
authorPaul Mackerras <paulus@samba.org>
Thu, 10 Sep 2009 11:58:40 +0000 (21:58 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 10 Sep 2009 11:58:40 +0000 (21:58 +1000)
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

diff --git a/gitk b/gitk
index 34067b9ecc464e0aa891c72c37055412f656f595..c0f38adb9b3774f00cc1f0810589b5906cea8d77 100755 (executable)
--- a/gitk
+++ b/gitk
@@ -2,7 +2,7 @@
 # Tcl ignores the next line -*- tcl -*- \
 exec wish "$0" -- "$@"