git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: gitk broken or user error?

From
Shawn Pearce <spearce@spearce.org>
Date
Nov 13, 2006, 05:20 UTC
Message-ID
<20061113052007.GA31551@spearce.org>
In-Reply-To
<m2irhkr467.fsf@ziti.local>
Seth Falcon <sethfalcon@gmail.com> wrote:
Show 13 quoted lines
> I get the following error when invoking gitk with any command line
> argument, for example, 'gitk --all':
> 
>     ziti:~/proj/R-devel seth$ gitk --all
>     Error in startup script: unknown option "-state"
>         while executing
>     ".bar.view entryconf 3 -state normal"
>         invoked from within
>     "if {$cmdline_files ne {} || $revtreeargs ne {}} {
>         # create a view for the files/dirs specified on the command line
>         set curview 1
>         set selec..."
>         (file "/Users/seth/scm/bin/gitk" line 6298)

You are not alone on this. I see the same thing on my Mac and it makes it quite difficult to use gitk. However the same version of gitk does not have this problem on Windows. Its clearly related to platform differences.

Of course Windows is unable to open a gitk window without it being collapsed down to only the titlebar, and is also unable to sucessfully reread the user's ~/.gitk file, but that's another bug...

I really should try to figure out what these problems are, but gitk is 6323 lines of Tcl/Tk code which I'm not all too familiar with, and I've got my own growing mass of ~2473 lines of Tcl/Tk code in git-gui to worry about right now...

Previous: Seth FalconNext: Paul Mackerras
Message 2 of 6 in “gitk broken or user error?”
  1. Seth FalconNov 12, 2006
  2. Shawn PearceNov 13, 2006
  3. Paul MackerrasNov 13, 2006
  4. Seth FalconNov 13, 2006
  5. Seth FalconNov 13, 2006
  6. Paul MackerrasNov 13, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.