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

legend on top-right pane in 'git gui'

From
Sitaram Chamarty <sitaramc@gmail.com>
Date
Mar 31, 2009, 16:25 UTC
Message-ID
<slrngt4h04.q0l.sitaramc@sitaramc.homelinux.net>
Hello,

'git gui' has a minor issue with the legend on the main code panel (yellow bar, top right pane).

When you click on a file in the top left pane, the yellow bar becomes "untracked, not staged". When you click on a file in the bottom left pane, it becomes "staged for commit". So far so good.

But when you take a file and (un)stage a part of it, then the text on the yellow bar changes to "Portions staged for commit", regardless of whether you clicked on the filename in the top left (unstaged) or bottom left (staged) pane.

One of the two texts should be different, but what? I was thinking, just add "(partial)" to the normal text, like:

    "untracked, not staged (partial)"
    "staged for commit (partial)"

I also tried to see if I could patch it, but it's not just a matter of changing the text somewhere, and I don't know tcl. However, if someone can give me a pointer I could still try...

Any thoughts?
Next: Sitaram Chamarty
Message 1 of 4 in “legend on top-right pane in 'git gui'”
  1. Sitaram ChamartyMar 31, 2009
  2. Sitaram ChamartyApr 9, 2009
  3. James PickensApr 9, 2009
  4. Sitaram ChamartyApr 10, 2009

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.