Re: gitk: Failure of new tabbed preferences dialog
- From
Pat Thoyts <patthoyts@users.sourceforge.net>
- Date
- Apr 1, 2012, 22:00 UTC
- Message-ID
- <1333317652-1464-1-git-send-email-patthoyts@users.sourceforge.net>
- In-Reply-To
- <4F749C71.7050201@ramsay1.demon.co.uk>
Show 6 quoted lines
> I just tried the new gitk (master @fae9d76) and, since I don't have > themed widgets, the preferences menu item uses the emulated tabbed > dialog code, which fails like so: > > can't read "col": no such variable >
The issue here is that the incr command has changed between tcl 8.4 and 8.5 and in more recent versions automatically creates the named variable if it did not exist. The fix you suggest is correct. I've also included another that I realised had been applied to msysGit and was not posted upstream.
Pat Thoyts.