Thread (14 messages) flat view 14 messages, 4 authors, 2016-06-15

Re: [PATCH 1/2] git-prompt.sh: strip unnecessary space in prompt string

From: Ramkumar Ramachandra <hidden>
Date: 2016-06-15 22:57:14

Junio C Hamano wrote:
It is like asking why typeset a space after a sentence a tad wider
than a space after each word:
Not at all.  The prompt has nothing to do with sentences.
grouping related things together, and
separating groups of different kind apart, to make it more readable.
You could argue that the colors are not very well thought-out
(branch-name has the same color as +), but I really don't see the
problem otherwise.  How is this more readable:

    artagnon|master *=:~/src/git$

than:

    artagnon|master*=:~/src/git$

(where master is green, * is red, and = is white)?

Looking at what we've done so far, I would argue that we're not
thinking about the usability of the prompt enough: it currently
screams I AM DOING REBASE-i! (and similarly for other operations in
progress).  I intend to fix these things in future patches.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help