{"thread":{"id":"27752","subject":"[BUG] gitk update/reload doesn't refresh notes","startedAt":"2011-07-04T15:36:00Z","lastAt":"2011-07-04T15:36:00Z","messageCount":1,"participants":["SZEDER Gábor"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"170819","messageId":"20110704153600.GF1982@goldbirke","threadId":"27752","inReplyTo":null,"subject":"[BUG] gitk update/reload doesn't refresh notes","fromName":"SZEDER Gábor","fromEmail":"szeder@ira.uka.de","sentAt":"2011-07-04T15:36:00Z","receivedAt":"2011-07-04T15:36:00Z","isPatch":false,"sender":{"key":"szeder.dev@gmail.com","avatar":"https://avatars.githubusercontent.com/u/116324?v=4"},"body":"Hi,\n\n\nI would expect that when I start gitk with '--show-notes' option and\npress update or reload, then it updates not just the commits, but the\nnotes shown in the log/diff window, too.  However, as shown below,\nthis is not the case.\n\n  notes_vs_gitk$ git init\n  Initialized empty Git repository in\n  /home/szeder/tmp/git/notes_vs_gitk/.git/\n  notes_vs_gitk (master)$ echo 1 >foo\n  notes_vs_gitk (master)$ git add foo\n  notes_vs_gitk (master)$ git commit -m First. foo\n  [master (root-commit) 88dbd6b] First.\n   1 files changed, 1 insertions(+), 0 deletions(-)\n   create mode 100644 foo\n  notes_vs_gitk (master)$ gitk --show-notes master &\n  [1] 15673\n  notes_vs_gitk (master)$ git notes add -m \"Note,\n  that these notes will not appear in gitk without restarting it\"\n  notes_vs_gitk (master)$ git log\n  commit 88dbd6bf8f1e3e4fc94d1da5e73754c7d2f0f244\n  Author: SZEDER Gábor <szeder@ira.uka.de>\n  Date:   2011-07-04 17:18:28 +0200\n  \n      First.\n  \n  Notes:\n      Note, that these notes will not appear in gitk without restarting it\n  \n  # Press F5 in gitk for update.\n  # Nope, notes are not shown.\n  # Press ctrl-F5 in gitk for reload.\n  # Notes are still not shown.\n  \n  notes_vs_gitk (master)$ kill %1\n  [1]+  Terminated              gitk --show-notes master\n  notes_vs_gitk (master)$ gitk --show-notes master &\n  [1] 15826\n  \n  # Notes are shown, finally.\n\n  notes_vs_gitk (master)$ git notes remove \n  Removing note for object HEAD\n\n  # Press F5/ctrl-F5 in gitk.\n  # The removed notes are still there.\n\n\nBest,\nGábor\n"}]}