Re: [PATCH v4 2/4] completion: simplify __git_remotes
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Feb 6, 2012, 21:04 UTC
- Message-ID
- <CAMP44s2vwQK4Mp=qJN-_60NRBY42fxzFLHbh9e9j=vL5mrMryg@mail.gmail.com>
- In-Reply-To
- <20120206205315.GI16099@goldbirke>
2012/2/6 SZEDER Gábor <szeder@ira.uka.de>:
Show 12 quoted lines
> On Thu, Feb 02, 2012 at 10:30:23PM +0200, Felipe Contreras wrote:
>> diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
>> index b435b6d..f86b734 100755
>> --- a/contrib/completion/git-completion.bash
>> +++ b/contrib/completion/git-completion.bash
>> @@ -644,12 +644,7 @@ __git_refs_remotes ()
>> __git_remotes ()
>> {
>> local i ngoff IFS=$'\n' d="$(__gitdir)"
>
> You could also remove the ngoff variable, because with this patch it's
> not used anymore.Right, I thought I did that... The change must have been lost in one of the many revisions =/
-- Felipe Contreras