Re: [PATCH 27/83] builtin/apply: move 'read_stdin' global into cmd_apply()
On Tue, Apr 26, 2016 at 10:28 PM, Junio C Hamanowrote: > Christian Couder writes: > >> Signed-off-by: Christian Couder >> --- >> builtin/apply.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > Makes sense but do so immediately next to 06/83, "options" thing? Ok, in the next reroll this patch will be immediately next to 06/83. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 27/83] builtin/apply: move 'read_stdin' global into cmd_apply()
Christian Couderwrites: > Signed-off-by: Christian Couder > --- > builtin/apply.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Makes sense but do so immediately next to 06/83, "options" thing? > diff --git a/builtin/apply.c b/builtin/apply.c > index 699cabf..be237d1 100644 > --- a/builtin/apply.c > +++ b/builtin/apply.c > @@ -96,7 +96,6 @@ static enum ws_ignore { > > static const char *patch_input_file; > static struct strbuf root = STRBUF_INIT; > -static int read_stdin = 1; > > static void parse_whitespace_option(const char *option) > { > @@ -4586,6 +4585,7 @@ int cmd_apply(int argc, const char **argv, const char > *prefix_) > int is_not_gitdir = !startup_info->have_repository; > int force_apply = 0; > int options = 0; > + int read_stdin = 1; > struct apply_state state; > > const char *whitespace_option = NULL; -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH 27/83] builtin/apply: move 'read_stdin' global into cmd_apply()
Signed-off-by: Christian Couder--- builtin/apply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/apply.c b/builtin/apply.c index 699cabf..be237d1 100644 --- a/builtin/apply.c +++ b/builtin/apply.c @@ -96,7 +96,6 @@ static enum ws_ignore { static const char *patch_input_file; static struct strbuf root = STRBUF_INIT; -static int read_stdin = 1; static void parse_whitespace_option(const char *option) { @@ -4586,6 +4585,7 @@ int cmd_apply(int argc, const char **argv, const char *prefix_) int is_not_gitdir = !startup_info->have_repository; int force_apply = 0; int options = 0; + int read_stdin = 1; struct apply_state state; const char *whitespace_option = NULL; -- 2.8.1.300.g5fed0c0 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html