Re: [PATCH 1/2] git-prompt.sh: strip unnecessary space in prompt string
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 13, 2013, 04:57 UTC
- Message-ID
- <7v61ynsci8.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1368289513-8700-2-git-send-email-artagnon@gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
> Nobody has branch names that end with + or *. Then why put a space > after the branch name and before [*|+][=|<|>] in the prompt string?
I do not think the space is for disambiguation.
It is like asking why typeset a space after a sentence a tad wider than a space after each word: grouping related things together, and separating groups of different kind apart, to make it more readable.