Re: [PATCH v2 1/3] completion: complete "unstuck" `git push --recurse-submodules`

2014-07-23 Thread Junio C Hamano
John Keeping writes: > On Tue, Jul 22, 2014 at 02:17:13PM -0700, Junio C Hamano wrote: >> John Keeping writes: >> >> > Do you want me to re-roll with this change or can you replace the patch >> > while applying? >> >> I think I had to flip the third one to adjust to the change I >> suggested t

Re: [PATCH v2 1/3] completion: complete "unstuck" `git push --recurse-submodules`

2014-07-23 Thread John Keeping
On Tue, Jul 22, 2014 at 02:17:13PM -0700, Junio C Hamano wrote: > John Keeping writes: > > > Do you want me to re-roll with this change or can you replace the patch > > while applying? > > I think I had to flip the third one to adjust to the change I > suggested to this; the result will be on 'p

Re: [PATCH v2 1/3] completion: complete "unstuck" `git push --recurse-submodules`

2014-07-22 Thread Junio C Hamano
John Keeping writes: > Makes sense. I don't think I noted the order in the "$cur" case, I just > put the new one in here so that they were sorted lexicographically. Unless there is particular reason, consistently using lexicographic order in all related places is one good way to organize things

Re: [PATCH v2 1/3] completion: complete "unstuck" `git push --recurse-submodules`

2014-07-22 Thread John Keeping
On Tue, Jul 22, 2014 at 01:23:25PM -0700, Junio C Hamano wrote: > John Keeping writes: > > > Since the argument to `--recurse-submodules` is mandatory, it does not > > need to be stuck to the option with `=`. > > > > Signed-off-by: John Keeping > > --- > > Change since v1: > > - Fix typo --r

Re: [PATCH v2 1/3] completion: complete "unstuck" `git push --recurse-submodules`

2014-07-22 Thread Junio C Hamano
John Keeping writes: > Since the argument to `--recurse-submodules` is mandatory, it does not > need to be stuck to the option with `=`. > > Signed-off-by: John Keeping > --- > Change since v1: > - Fix typo --recurse{_ => -}submodules > - Dropped previous patch 1/4 adding ";;" at the end

[PATCH v2 1/3] completion: complete "unstuck" `git push --recurse-submodules`

2014-07-22 Thread John Keeping
Since the argument to `--recurse-submodules` is mandatory, it does not need to be stuck to the option with `=`. Signed-off-by: John Keeping --- Change since v1: - Fix typo --recurse{_ => -}submodules - Dropped previous patch 1/4 adding ";;" at the end of the "--repo" case contrib/comple