* legend on top-right pane in 'git gui'
@ 2009-03-31 16:25 Sitaram Chamarty
2009-04-09 3:31 ` Sitaram Chamarty
0 siblings, 1 reply; 4+ messages in thread
From: Sitaram Chamarty @ 2009-03-31 16:25 UTC (permalink / raw)
To: git
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?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: legend on top-right pane in 'git gui'
2009-03-31 16:25 legend on top-right pane in 'git gui' Sitaram Chamarty
@ 2009-04-09 3:31 ` Sitaram Chamarty
2009-04-09 4:11 ` James Pickens
0 siblings, 1 reply; 4+ messages in thread
From: Sitaram Chamarty @ 2009-04-09 3:31 UTC (permalink / raw)
To: git
Hi guys,
Can someone at least tell me "Sita, you're wrong/this is a
stupid question/this is perfectly correct behaviour/whatever"? :-)
I won't even ask why, I promise :-)
Regards,
Sitaram
On 2009-03-31, Sitaram Chamarty <sitaramc@gmail.com> wrote:
> 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?
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: legend on top-right pane in 'git gui'
2009-04-09 3:31 ` Sitaram Chamarty
@ 2009-04-09 4:11 ` James Pickens
2009-04-10 19:19 ` Sitaram Chamarty
0 siblings, 1 reply; 4+ messages in thread
From: James Pickens @ 2009-04-09 4:11 UTC (permalink / raw)
To: Sitaram Chamarty; +Cc: git
On Wed, Apr 8, 2009, Sitaram Chamarty <sitaramc@gmail.com> wrote:
> Can someone at least tell me "Sita, you're wrong/this is a
> stupid question/this is perfectly correct behaviour/whatever"? :-)
>
> I won't even ask why, I promise :-)
Well, I for one think your proposed new message - "untracked, not
staged (partial)" - is nonsense. A file can't be both untracked
and partially staged.
Also I don't agree that the message needs to be different
depending on where you click; actually I think such behavior
would be more confusing to users than the current behavior.
James
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: legend on top-right pane in 'git gui'
2009-04-09 4:11 ` James Pickens
@ 2009-04-10 19:19 ` Sitaram Chamarty
0 siblings, 0 replies; 4+ messages in thread
From: Sitaram Chamarty @ 2009-04-10 19:19 UTC (permalink / raw)
To: git
On 2009-04-09, James Pickens <jepicken@gmail.com> wrote:
> On Wed, Apr 8, 2009, Sitaram Chamarty <sitaramc@gmail.com> wrote:
>> Can someone at least tell me "Sita, you're wrong/this is a
>> stupid question/this is perfectly correct behaviour/whatever"? :-)
>>
>> I won't even ask why, I promise :-)
>
> Well, I for one think your proposed new message - "untracked, not
> staged (partial)" - is nonsense. A file can't be both untracked
> and partially staged.
Fine, some other wording may suit better; doesn't matter if
you don't even agree that the message needs to be different.
> Also I don't agree that the message needs to be different
> depending on where you click; actually I think such behavior
> would be more confusing to users than the current behavior.
Right now, both panes say "Portions staged for commit".
In fact, while one pane does indeed show the portions staged
for commit, the other one is actually showing portions *not*
staged for commit. To some of my users, that is certainly
confusing.
I guess confusion, like beauty, is in the eyes of the
beholder...
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-04-10 19:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-31 16:25 legend on top-right pane in 'git gui' Sitaram Chamarty
2009-04-09 3:31 ` Sitaram Chamarty
2009-04-09 4:11 ` James Pickens
2009-04-10 19:19 ` Sitaram Chamarty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).