Re: [PATCH 2/5] check-ref-format: Refactor to make --branch code more common

2016-12-19 Thread Ian Jackson
Michael Haggerty writes ("Re: [PATCH 2/5] check-ref-format: Refactor to make --branch code more common"): > On 11/04/2016 08:13 PM, Ian Jackson wrote: > > static int normalize = 0; > > +static int check_branch = 0; > > static int flags = 0; > > > >

Re: [PATCH 2/5] check-ref-format: Refactor to make --branch code more common

2016-12-19 Thread Michael Haggerty
On 11/04/2016 08:13 PM, Ian Jackson wrote: > We are going to want to permit other options with --branch. > > So, replace the special case with just an entry for --branch in the > parser for ordinary options, and check for option compatibility at the > end. > > No overall functional change. > > S

[PATCH 2/5] check-ref-format: Refactor to make --branch code more common

2016-11-04 Thread Ian Jackson
We are going to want to permit other options with --branch. So, replace the special case with just an entry for --branch in the parser for ordinary options, and check for option compatibility at the end. No overall functional change. Signed-off-by: Ian Jackson --- builtin/check-ref-format.c |