Re: [PATCH 4/10] Add current branch in PS1 support to git-completion.bash.
- From
Sean <seanlkml@sympatico.ca>
- Date
- Nov 27, 2006, 17:45 UTC
- Message-ID
- <BAYC1-PASMTP11F1E3F750BA675B27EC9EAEE60@CEZ.ICE>
- In-Reply-To
- <20061127173136.GD6616@spearce.org>
On Mon, 27 Nov 2006 12:31:36 -0500 Shawn Pearce <spearce@spearce.org> wrote:
> I did that. :-) > > If you read the implementation of __git_ps1 the default format is > " (%s)" but you can pass anything you want as the first parameter.
lol, you're good. I'm back to thinking it's slightly misnamed though, as that %s can only ever mean branch. But it's really a minor nit, sorry for the noise. Good work.