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

gitk Branch: field problem with 1.6.1

From
HKHannu Koivisto <azure@iki.fi>
Date
Dec 28, 2008, 16:53 UTC
Message-ID
<83eizsckbk.fsf@kalahari.s2.org>
Greetings,
If I create a test repository as follows...

mkdir gitktest cd gitktest git init echo foo > foo git add foo git commit -m "foo" echo bar >> foo git add foo git commit -m "bar" git checkout -b branch HEAD~1 echo baz > baz git add baz git commit -m "baz" echo baz >> baz git add baz git commit -m "more baz" git checkout -b debug2 echo baz >> baz git add baz git commit -m "even more baz"

...and with gitk --all look at the "more baz" commit, it says "Branch: debug2" as shown here <http://www.iki.fi/azure/tmp/gitk-test1.png>. My understanding is that it should show "Branches: branch, debug2" but I might be wrong of course.

I have another test repository (I can make a creation recipe or make the repository available for download if needed) where, in addition to the problem above, gitk shows empty "Branch:" field for the master branch's tip commit.

Both tests made with 1.6.1 on Linux.
-- 
Hannu
Message 1 of 1 in “gitk Branch: field problem with 1.6.1”
  1. Hannu KoivistoDec 28, 2008

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.