On 02/15, Jeff King wrote:
> On Mon, Feb 15, 2016 at 11:39:41PM +0100, Thomas Gummerer wrote:
>
> > - if (!starts_with(key, "remote."))
> > + if (parse_config_key(key, "remote", , , ) < 0)
> > return 0;
> > - name = key + 7;
> >
> > /* Handle remote.* variables */
> > - if
On Mon, Feb 15, 2016 at 11:39:41PM +0100, Thomas Gummerer wrote:
> - if (!starts_with(key, "remote."))
> + if (parse_config_key(key, "remote", , , ) < 0)
> return 0;
> - name = key + 7;
>
> /* Handle remote.* variables */
> - if (!strcmp(name,
95b567c7 ("use skip_prefix to avoid repeating strings") transformed
calls using starts_with() and then skipping the length of the prefix to
skip_prefix() calls. In remote.c there are a few calls like:
if (starts_with(foo, "bar"))
foo += 3
These calls weren't touched by the aformentioned
3 matches
Mail list logo