From: Ramkumar Ramachandra Date: Mon, 13 May 2013 14:21:50 GMT Subject: Re: [PATCH 1/2] git-prompt.sh: strip unnecessary space in prompt string Message-ID: In-Reply-To: <7vvc6noubf.fsf@alter.siamese.dyndns.org> Junio C Hamano wrote: > If you restructure the code to formulate "gitstring" to call a shell > function to do so, people can override it and come up with whatever > format they want to use, no? The user would essentially have to implement her own __git_ps1_colorize_string; a function that takes a lot of arguments and stitches them together with color. Much too painful for little gain.