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

Re: gitk won't show notes?

From
Paul Mackerras <paulus@samba.org>
Date
Apr 11, 2015, 10:31 UTC
Message-ID
<20150411103156.GA5781@iris.ozlabs.ibm.com>
In-Reply-To
<5525164C.6000309@drmicha.warpmail.net>
On Wed, Apr 08, 2015 at 01:51:40PM +0200, Michael J Gruber wrote:
Show 18 quoted lines
> Phillip Susi venit, vidit, dixit 07.04.2015 19:08:
> > On 4/7/2015 10:13 AM, Michael J Gruber wrote:
> >> Seriously: gitk knows F5 and Shift-F5 for refresh, and I think the 
> >> latter is the thorougher refreshment.
> > 
> > Neither one makes newly added notes show up.  The only way seems to be
> > to close and restart gitk.  Looks like a bug.
> > 
> > 
> 
> Apparently, gitk rereads the refs but not commits it has read already -
> and the commit reading includes the notes lookup.
> 
> Unfortunately, my wish-fu is lacking. But I'll cc the master.
> 
> Paulus: None of updatecommits, reloadcommits and rereadrefs seem to
> reread the notes of a commit that has been displayed already if the
> notes have changed (but the other refs have not).

As far as shift-F5/reloadcommits is concerned, it looks like I should be unsetting commitinfo in reloadcommits.

However, I agree gitk should refresh the notes in updatecommits as well, but that will take more work. Is git notes list the best way to find out all the current notes?

Paul.
Previous: Michael J GruberNext: Christian Couder
Message 7 of 9 in “gitk won't show notes?”
  1. Phillip SusiApr 2, 2015
  2. Michael J GruberApr 7, 2015
  3. Phillip SusiApr 7, 2015
  4. Michael J GruberApr 7, 2015
  5. Phillip SusiApr 7, 2015
  6. Michael J GruberApr 8, 2015
  7. Paul MackerrasApr 11, 2015
  8. Christian CouderApr 14, 2015
  9. Johan HerlandApr 14, 2015

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.