author | Pat Thoyts <patthoyts@users.sourceforge.net> | |
Sun, 1 Apr 2012 22:00:51 +0000 (23:00 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 2 Apr 2012 17:21:08 +0000 (10:21 -0700) | ||
commit | 28cb707472ad2861f9d994c279a9b6077160522e | |
tree | cc7371ff221925f19cdb1087c925c9c7851cdb3a | tree | snapshot |
parent | b2b76d10696d945bf19318831b64d009d119e051 | commit | diff |
gitk: fix tabbed preferences construction when using tcl 8.4
In 8.5 the incr command creates the target variable if it does not exist
but in 8.4 using incr on a non-existing variable raises an error. Ensure
we have created our counter variable when creating the tabbed dialog for
non-themed preferences.
Reported-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
In 8.5 the incr command creates the target variable if it does not exist
but in 8.4 using incr on a non-existing variable raises an error. Ensure
we have created our counter variable when creating the tabbed dialog for
non-themed preferences.
Reported-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitk | diff | blob | history |