author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 19 Nov 2006 06:00:48 +0000 (01:00 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 19 Nov 2006 06:00:48 +0000 (01:00 -0500) | ||
commit | 86291555c94300b057a156d87239a6cab09511b3 | |
tree | 241735d506d63f6868b477b4b33f01bf3792b264 | tree | snapshot |
parent | dde5974ef109ed3aadfbac4d233899fb04d1c9ff | commit | diff |
git-gui: Fix list loading corruption introduced by 1461c5f3.
Tcl let me assign two different types of values to the variable $n.
Prior to 1461c5f3 $n was the total number of bytes in the string;
but in that commit it also became the current info list for the
current file. This caused $c < $n to fail as $n was now treated
as 0 and we only loaded the first file in each buffer.
So use a different variable, like $i, instead.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Tcl let me assign two different types of values to the variable $n.
Prior to 1461c5f3 $n was the total number of bytes in the string;
but in that commit it also became the current info list for the
current file. This caused $c < $n to fail as $n was now treated
as 0 and we only loaded the first file in each buffer.
So use a different variable, like $i, instead.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui | diff | blob | history |