Re: [PATCH] pull.c: fix some sparse warnings

2015-06-17 Thread Paul Tan
On Wed, Jun 17, 2015 at 7:18 AM, Ramsay Jones wrote: > Hi Paul, > > If you need to re-roll your patches on the 'pt/pull-builtin' branch, > could you please squash this into the patch which corresponds to > commit 191241e5. Thanks. I must have been half-asleep because the block of code just above

[PATCH] pull.c: fix some sparse warnings

2015-06-16 Thread Ramsay Jones
Commit 191241e5 ("pull: pass git-fetch's options to git-fetch", 14-06-2015) uses the OPT_PASSTHRU macro to add some command line 'struct option' initialisations to the pull_options array. This causes sparse to complain, thus: SP builtin/pull.c builtin/pull.c:160:9: warning: Using plain in