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

Re: gitk broken or user error?

From
Paul Mackerras <paulus@samba.org>
Date
Nov 13, 2006, 22:05 UTC
Message-ID
<17752.60467.854884.206737@cargo.ozlabs.ibm.com>
In-Reply-To
<m2irhkr467.fsf@ziti.local>
Seth Falcon writes:
> I tried a certainly incorrect thing; just commenting out the offending
> lines:
[snip]
Show 10 quoted lines
> -    .bar.view entryconf 2 -state normal
> -    .bar.view entryconf 3 -state normal
> +#    .bar.view entryconf 2 -state normal
> +#    .bar.view entryconf 3 -state normal
>  }
>  
>  if {[info exists permviews]} {
> 
> And now gitk _seems_ to work.  No error message, and I can pass
> argument to gitk like --all (wow, very useful).

Those lines are intended to enable the "Edit view" and "Delete view" entries in the View menu. Those entries start out disabled and are supposed to be disabled when the "All files" view is displayed, and enabled when any other view is displayed.

I suspect that under OSX, the menu gets an extra entry, or something, that throws off the numbering. Instead of commenting out those lines, could you instead try changing the 2 and 3 to "Edit*" and "Delete*" instead? If that works I'll do a patch to fix the problem properly.

> I posted about this in October [*1*], but didn't get any response.

I tend to read the git list intermittently (lkml and linuxppc-dev keep me pretty much occupied :). Please cc me on any gitk bug reports.

Previous: Shawn PearceNext: Seth Falcon
Message 3 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.