author | Paul Mackerras <paulus@samba.org> | |
Mon, 13 Aug 2007 05:02:02 +0000 (15:02 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Mon, 13 Aug 2007 05:02:02 +0000 (15:02 +1000) | ||
commit | a69b2d1a8bf335ddbf0929c609b2daa523c7ede0 | |
tree | 02066b640e0320d23f6adc899eb22cbe0a3f8157 | tree | snapshot |
parent | 7b459a1c1cc5401295e3adb12031e39e35712f4a | commit | diff |
gitk: Fix bug causing Tcl error when updating graph
If "Show nearby tags" is turned off, selecting "Update" from the File
menu will cause a Tcl error. This fixes it. The problem was that
we were calling regetallcommits unconditionally, but it assumed that
getallcommits had been called previously. This also restructures
{re,}getallcommits to be a bit simpler.
Signed-off-by: Paul Mackerras <paulus@samba.org>
If "Show nearby tags" is turned off, selecting "Update" from the File
menu will cause a Tcl error. This fixes it. The problem was that
we were calling regetallcommits unconditionally, but it assumed that
getallcommits had been called previously. This also restructures
{re,}getallcommits to be a bit simpler.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |