From: Stefan Beller <sbeller@google.com>
To: Christian Couder <christian.couder@gmail.com>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>,
"Junio C Hamano" <gitster@pobox.com>, "Jeff King" <peff@peff.net>,
"Ævar Arnfjörð Bjarmason" <avarab@gmail.com>,
"Karsten Blees" <karsten.blees@gmail.com>,
"Nguyen Thai Ngoc Duy" <pclouds@gmail.com>,
"Johannes Schindelin" <Johannes.Schindelin@gmx.de>,
"Matthieu Moy" <Matthieu.Moy@grenoble-inp.fr>,
"Christian Couder" <chriscool@tuxfamily.org>
Subject: Re: [PATCH 33/83] builtin/apply: move 'root' global into 'struct apply_state'
Date: Mon, 25 Apr 2016 14:50:09 -0700 [thread overview]
Message-ID: <CAGZ79kaaATDzOHFOmCAANcZmrF_5JGAUYW3Ub1WJ7vSLODVP_g@mail.gmail.com> (raw)
In-Reply-To: <1461504863-15946-34-git-send-email-chriscool@tuxfamily.org>
On Sun, Apr 24, 2016 at 6:33 AM, Christian Couder
<christian.couder@gmail.com> wrote:
> Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
> ---
> builtin/apply.c | 82 ++++++++++++++++++++++++++++++++++-----------------------
> 1 file changed, 49 insertions(+), 33 deletions(-)
>
> diff --git a/builtin/apply.c b/builtin/apply.c
> index fecdb66..209a1b4 100644
> --- a/builtin/apply.c
> +++ b/builtin/apply.c
> @@ -73,6 +73,8 @@ struct apply_state {
>
> struct string_list limit_by_name;
> int has_include;
> +
> + struct strbuf root;
> };
>
> static int newfd = -1;
> @@ -98,8 +100,6 @@ static enum ws_ignore {
> } ws_ignore_action = ignore_ws_none;
>
>
> -static struct strbuf root = STRBUF_INIT;
> -
> static void parse_whitespace_option(const char *option)
> {
> if (!option) {
> @@ -489,7 +489,10 @@ static char *squash_slash(char *name)
> return name;
> }
>
> -static char *find_name_gnu(const char *line, const char *def, int p_value)
> +static char *find_name_gnu(struct apply_state *state,
> + const char *line,
> + const char *def,
> + int p_value)
> {
> struct strbuf name = STRBUF_INIT;
> char *cp;
> @@ -513,8 +516,8 @@ static char *find_name_gnu(const char *line, const char *def, int p_value)
> }
>
> strbuf_remove(&name, 0, cp - name.buf);
> - if (root.len)
> - strbuf_insert(&name, 0, root.buf, root.len);
> + if (state->root.len)
> + strbuf_insert(&name, 0, state->root.buf, state->root.len);
> return squash_slash(strbuf_detach(&name, NULL));
> }
>
> @@ -677,8 +680,12 @@ static size_t diff_timestamp_len(const char *line, size_t len)
> return line + len - end;
> }
>
> -static char *find_name_common(const char *line, const char *def,
> - int p_value, const char *end, int terminate)
> +static char *find_name_common(struct apply_state *state,
> + const char *line,
> + const char *def,
> + int p_value,
> + const char *end,
> + int terminate)
> {
> int len;
> const char *start = NULL;
> @@ -716,32 +723,39 @@ static char *find_name_common(const char *line, const char *def,
> return squash_slash(xstrdup(def));
> }
>
> - if (root.len) {
> - char *ret = xstrfmt("%s%.*s", root.buf, len, start);
> + if (state->root.len) {
> + char *ret = xstrfmt("%s%.*s", state->root.buf, len, start);
> return squash_slash(ret);
> }
>
> return squash_slash(xmemdupz(start, len));
> }
>
> -static char *find_name(const char *line, char *def, int p_value, int terminate)
> +static char *find_name(struct apply_state *state,
> + const char *line,
> + char *def,
> + int p_value,
> + int terminate)
> {
> if (*line == '"') {
> - char *name = find_name_gnu(line, def, p_value);
> + char *name = find_name_gnu(state, line, def, p_value);
> if (name)
> return name;
> }
>
> - return find_name_common(line, def, p_value, NULL, terminate);
> + return find_name_common(state, line, def, p_value, NULL, terminate);
> }
>
> -static char *find_name_traditional(const char *line, char *def, int p_value)
> +static char *find_name_traditional(struct apply_state *state,
> + const char *line,
> + char *def,
> + int p_value)
> {
> size_t len;
> size_t date_len;
>
> if (*line == '"') {
> - char *name = find_name_gnu(line, def, p_value);
> + char *name = find_name_gnu(state, line, def, p_value);
> if (name)
> return name;
> }
> @@ -749,10 +763,10 @@ static char *find_name_traditional(const char *line, char *def, int p_value)
> len = strchrnul(line, '\n') - line;
> date_len = diff_timestamp_len(line, len);
> if (!date_len)
> - return find_name_common(line, def, p_value, NULL, TERM_TAB);
> + return find_name_common(state, line, def, p_value, NULL, TERM_TAB);
> len -= date_len;
>
> - return find_name_common(line, def, p_value, line + len, 0);
> + return find_name_common(state, line, def, p_value, line + len, 0);
> }
>
> static int count_slashes(const char *cp)
> @@ -777,7 +791,7 @@ static int guess_p_value(struct apply_state *state, const char *nameline)
>
> if (is_dev_null(nameline))
> return -1;
> - name = find_name_traditional(nameline, NULL, 0);
> + name = find_name_traditional(state, nameline, NULL, 0);
> if (!name)
> return -1;
> cp = strchr(name, '/');
> @@ -902,17 +916,17 @@ static void parse_traditional_patch(struct apply_state *state,
> if (is_dev_null(first)) {
> patch->is_new = 1;
> patch->is_delete = 0;
> - name = find_name_traditional(second, NULL, state->p_value);
> + name = find_name_traditional(state, second, NULL, state->p_value);
> patch->new_name = name;
> } else if (is_dev_null(second)) {
> patch->is_new = 0;
> patch->is_delete = 1;
> - name = find_name_traditional(first, NULL, state->p_value);
> + name = find_name_traditional(state, first, NULL, state->p_value);
> patch->old_name = name;
> } else {
> char *first_name;
> - first_name = find_name_traditional(first, NULL, state->p_value);
> - name = find_name_traditional(second, first_name, state->p_value);
> + first_name = find_name_traditional(state, first, NULL, state->p_value);
> + name = find_name_traditional(state, second, first_name, state->p_value);
> free(first_name);
> if (has_epoch_timestamp(first)) {
> patch->is_new = 1;
> @@ -957,7 +971,7 @@ static void gitdiff_verify_name(struct apply_state *state,
> int side)
> {
> if (!*name && !isnull) {
> - *name = find_name(line, NULL, state->p_value, TERM_TAB);
> + *name = find_name(state, line, NULL, state->p_value, TERM_TAB);
> return;
> }
>
> @@ -967,7 +981,7 @@ static void gitdiff_verify_name(struct apply_state *state,
> if (isnull)
> die(_("git apply: bad git-diff - expected /dev/null, got %s on line %d"),
> *name, linenr);
> - another = find_name(line, NULL, state->p_value, TERM_TAB);
> + another = find_name(state, line, NULL, state->p_value, TERM_TAB);
> if (!another || memcmp(another, *name, len + 1))
> die((side == DIFF_NEW_NAME) ?
> _("git apply: bad git-diff - inconsistent new filename on line %d") :
> @@ -1042,7 +1056,7 @@ static int gitdiff_copysrc(struct apply_state *state,
> {
> patch->is_copy = 1;
> free(patch->old_name);
> - patch->old_name = find_name(line, NULL, state->p_value ? state->p_value - 1 : 0, 0);
> + patch->old_name = find_name(state, line, NULL, state->p_value ? state->p_value - 1 : 0, 0);
> return 0;
> }
>
> @@ -1052,7 +1066,7 @@ static int gitdiff_copydst(struct apply_state *state,
> {
> patch->is_copy = 1;
> free(patch->new_name);
> - patch->new_name = find_name(line, NULL, state->p_value ? state->p_value - 1 : 0, 0);
> + patch->new_name = find_name(state, line, NULL, state->p_value ? state->p_value - 1 : 0, 0);
> return 0;
> }
>
> @@ -1062,7 +1076,7 @@ static int gitdiff_renamesrc(struct apply_state *state,
> {
> patch->is_rename = 1;
> free(patch->old_name);
> - patch->old_name = find_name(line, NULL, state->p_value ? state->p_value - 1 : 0, 0);
> + patch->old_name = find_name(state, line, NULL, state->p_value ? state->p_value - 1 : 0, 0);
> return 0;
> }
>
> @@ -1072,7 +1086,7 @@ static int gitdiff_renamedst(struct apply_state *state,
> {
> patch->is_rename = 1;
> free(patch->new_name);
> - patch->new_name = find_name(line, NULL, state->p_value ? state->p_value - 1 : 0, 0);
> + patch->new_name = find_name(state, line, NULL, state->p_value ? state->p_value - 1 : 0, 0);
> return 0;
> }
>
> @@ -1331,8 +1345,8 @@ static int parse_git_header(struct apply_state *state,
> * the default name from the header.
> */
> patch->def_name = git_header_name(state, line, len);
> - if (patch->def_name && root.len) {
> - char *s = xstrfmt("%s%s", root.buf, patch->def_name);
> + if (patch->def_name && state->root.len) {
> + char *s = xstrfmt("%s%s", state->root.buf, patch->def_name);
> free(patch->def_name);
> patch->def_name = s;
> }
> @@ -4630,9 +4644,10 @@ static int option_parse_whitespace(const struct option *opt,
> static int option_parse_directory(const struct option *opt,
> const char *arg, int unset)
> {
> - strbuf_reset(&root);
> - strbuf_addstr(&root, arg);
> - strbuf_complete(&root, '/');
> + struct apply_state *state = opt->value;
Or even
struct strbuf root = ((state*)opt->value)->root;
and then keep the next lines as is?
> + strbuf_reset(&state->root);
> + strbuf_addstr(&state->root, arg);
> + strbuf_complete(&state->root, '/');
> return 0;
> }
>
> @@ -4711,7 +4726,7 @@ int cmd_apply(int argc, const char **argv, const char *prefix_)
> OPT_BIT(0, "recount", &options,
> N_("do not trust the line counts in the hunk headers"),
> RECOUNT),
> - { OPTION_CALLBACK, 0, "directory", NULL, N_("root"),
> + { OPTION_CALLBACK, 0, "directory", &state, N_("root"),
> N_("prepend <root> to all filenames"),
> 0, option_parse_directory },
> OPT_END()
> @@ -4724,6 +4739,7 @@ int cmd_apply(int argc, const char **argv, const char *prefix_)
> state.line_termination = '\n';
> state.p_value = 1;
> state.p_context = UINT_MAX;
> + strbuf_init(&state.root, 0);
Eventually we want to have some sort of `init_apply_state` function or
a define which has all the values, I guess?
Compare for example to sliding_window.h, where
we have
struct sliding_view {
...
struct strbuf buf;
};
#define SLIDING_VIEW_INIT(..., STRBUF_INIT }
>
> git_apply_config();
> if (apply_default_whitespace)
> --
> 2.8.1.300.g5fed0c0
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-04-25 21:50 UTC|newest]
Thread overview: 156+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-24 13:33 [PATCH 00/83] libify apply and use lib in am Christian Couder
2016-04-24 13:33 ` [PATCH 01/83] builtin/apply: make gitdiff_verify_name() return void Christian Couder
2016-04-24 13:33 ` [PATCH 02/83] builtin/apply: avoid parameter shadowing 'p_value' global Christian Couder
2016-04-24 13:33 ` [PATCH 03/83] builtin/apply: avoid parameter shadowing 'linenr' global Christian Couder
2016-04-27 16:27 ` Junio C Hamano
2016-04-27 17:07 ` Christian Couder
2016-04-24 13:33 ` [PATCH 04/83] builtin/apply: avoid local variable shadowing 'len' parameter Christian Couder
2016-04-24 13:33 ` [PATCH 05/83] builtin/apply: extract line_by_line_fuzzy_match() from match_fragment() Christian Couder
2016-04-25 18:50 ` Stefan Beller
2016-04-26 16:15 ` Christian Couder
2016-04-26 20:20 ` Junio C Hamano
2016-04-27 13:31 ` Christian Couder
2016-04-24 13:33 ` [PATCH 06/83] builtin/apply: move 'options' variable into cmd_apply() Christian Couder
2016-04-24 13:33 ` [PATCH 07/83] builtin/apply: introduce 'struct apply_state' to start libifying Christian Couder
2016-04-24 13:33 ` [PATCH 08/83] builtin/apply: move 'unidiff_zero' global into 'struct apply_state' Christian Couder
2016-04-24 13:33 ` [PATCH 09/83] builtin/apply: move 'check' " Christian Couder
2016-04-25 18:57 ` Stefan Beller
2016-04-26 16:26 ` Christian Couder
2016-04-26 16:31 ` Stefan Beller
2016-04-24 13:33 ` [PATCH 10/83] builtin/apply: move 'check_index' " Christian Couder
2016-04-26 20:25 ` Junio C Hamano
2016-04-24 13:33 ` [PATCH 11/83] builtin/apply: move 'apply_in_reverse' " Christian Couder
2016-04-24 13:33 ` [PATCH 12/83] builtin/apply: move 'apply_with_reject' " Christian Couder
2016-04-24 13:33 ` [PATCH 13/83] builtin/apply: move 'apply_verbosely' " Christian Couder
2016-04-24 13:33 ` [PATCH 14/83] builtin/apply: move 'update_index' " Christian Couder
2016-04-24 13:33 ` [PATCH 15/83] builtin/apply: move 'allow_overlap' " Christian Couder
2016-04-24 13:33 ` [PATCH 16/83] builtin/apply: move 'cached' " Christian Couder
2016-04-24 13:33 ` [PATCH 17/83] builtin/apply: move 'diffstat' " Christian Couder
2016-04-24 13:33 ` [PATCH 18/83] builtin/apply: move 'numstat' " Christian Couder
2016-04-25 21:40 ` Stefan Beller
2016-04-26 16:35 ` Christian Couder
2016-04-24 13:33 ` [PATCH 19/83] builtin/apply: move 'summary' " Christian Couder
2016-04-24 13:33 ` [PATCH 20/83] builtin/apply: move 'threeway' " Christian Couder
2016-04-24 13:33 ` [PATCH 21/83] builtin/apply: move 'no-add' " Christian Couder
2016-04-24 13:33 ` [PATCH 22/83] builtin/apply: move 'unsafe_paths' " Christian Couder
2016-04-26 20:27 ` Junio C Hamano
2016-04-27 12:14 ` Christian Couder
2016-04-27 15:26 ` Junio C Hamano
2016-04-24 13:33 ` [PATCH 23/83] builtin/apply: move 'line_termination' " Christian Couder
2016-04-24 13:33 ` [PATCH 24/83] builtin/apply: move 'fake_ancestor' " Christian Couder
2016-04-24 13:33 ` [PATCH 25/83] builtin/apply: move 'p_context' " Christian Couder
2016-04-24 13:33 ` [PATCH 26/83] builtin/apply: move 'apply' " Christian Couder
2016-04-24 13:33 ` [PATCH 27/83] builtin/apply: move 'read_stdin' global into cmd_apply() Christian Couder
2016-04-26 20:28 ` Junio C Hamano
2016-04-27 13:13 ` Christian Couder
2016-04-24 13:33 ` [PATCH 28/83] builtin/apply: move 'patch_input_file' global into 'struct apply_state' Christian Couder
2016-04-24 13:33 ` [PATCH 29/83] builtin/apply: move 'limit_by_name' " Christian Couder
2016-04-24 13:33 ` [PATCH 30/83] builtin/apply: move 'has_include' " Christian Couder
2016-04-24 13:33 ` [PATCH 31/83] builtin/apply: move 'p_value' " Christian Couder
2016-04-24 13:33 ` [PATCH 32/83] builtin/apply: move 'p_value_known' " Christian Couder
2016-04-24 13:33 ` [PATCH 33/83] builtin/apply: move 'root' " Christian Couder
2016-04-25 21:50 ` Stefan Beller [this message]
2016-04-25 21:54 ` Stefan Beller
2016-04-26 20:13 ` Christian Couder
2016-04-24 13:33 ` [PATCH 34/83] builtin/apply: move 'whitespace_error' " Christian Couder
2016-04-24 13:33 ` [PATCH 35/83] builtin/apply: move 'whitespace_option' " Christian Couder
2016-04-24 13:33 ` [PATCH 36/83] builtin/apply: remove whitespace_option arg from set_default_whitespace_mode() Christian Couder
2016-04-24 13:33 ` [PATCH 37/83] builtin/apply: move 'squelch_whitespace_errors' into 'struct apply_state' Christian Couder
2016-04-24 13:33 ` [PATCH 38/83] builtin/apply: move 'applied_after_fixing_ws' " Christian Couder
2016-04-24 13:33 ` [PATCH 39/83] builtin/apply: move 'ws_error_action' " Christian Couder
2016-04-26 20:36 ` Junio C Hamano
2016-04-26 20:40 ` Junio C Hamano
2016-04-27 13:23 ` Christian Couder
2016-04-24 13:33 ` [PATCH 40/83] builtin/apply: move 'ws_ignore_action' " Christian Couder
2016-04-24 13:33 ` [PATCH 41/83] builtin/apply: move 'max_change' and 'max_len' " Christian Couder
2016-04-24 13:33 ` [PATCH 42/83] builtin/apply: move 'linenr' global " Christian Couder
2016-04-24 13:33 ` [PATCH 43/83] builtin/apply: move 'fn_table' " Christian Couder
2016-04-24 13:33 ` [PATCH 44/83] builtin/apply: move 'symlink_changes' " Christian Couder
2016-04-24 13:33 ` [PATCH 45/83] builtin/apply: move 'state' init into init_apply_state() Christian Couder
2016-04-25 7:32 ` Eric Sunshine
2016-04-27 12:00 ` Christian Couder
2016-04-24 13:33 ` [PATCH 46/83] builtin/apply: move 'state' check into check_apply_state() Christian Couder
2016-04-24 13:33 ` [PATCH 47/83] builtin/apply: move applying patches into apply_all_patches() Christian Couder
2016-04-25 22:00 ` Stefan Beller
2016-04-27 15:51 ` Christian Couder
2016-04-24 13:33 ` [PATCH 48/83] builtin/apply: rename 'prefix_' parameter to 'prefix' Christian Couder
2016-04-24 13:33 ` [PATCH 49/83] builtin/apply: move 'lock_file' global into 'struct apply_state' Christian Couder
2016-04-25 7:50 ` Eric Sunshine
2016-04-25 17:55 ` Junio C Hamano
2016-04-28 16:30 ` Christian Couder
2016-04-28 20:17 ` Junio C Hamano
2016-04-30 19:39 ` Christian Couder
2016-04-24 13:33 ` [PATCH 50/83] builtin/apply: get rid of the 'newfd' global Christian Couder
2016-04-24 13:33 ` [PATCH 51/83] builtin/apply: make apply_patch() return -1 instead of die()ing Christian Couder
2016-04-26 1:20 ` Eric Sunshine
2016-04-30 19:41 ` Christian Couder
2016-04-24 13:33 ` [PATCH 52/83] builtin/apply: read_patch_file() " Christian Couder
2016-04-24 13:33 ` [PATCH 53/83] builtin/apply: make find_header() " Christian Couder
2016-04-25 13:18 ` Duy Nguyen
2016-04-27 18:10 ` Eric Sunshine
2016-05-01 16:53 ` Christian Couder
2016-04-27 18:08 ` Eric Sunshine
2016-05-01 16:45 ` Christian Couder
2016-04-24 13:33 ` [PATCH 54/83] builtin/apply: make parse_chunk() return a negative integer on error Christian Couder
2016-05-01 19:04 ` Eric Sunshine
2016-05-01 19:51 ` Christian Couder
2016-04-24 13:33 ` [PATCH 55/83] builtin/apply: make parse_single_patch() return -1 " Christian Couder
2016-05-01 19:32 ` Eric Sunshine
2016-04-24 13:33 ` [PATCH 56/83] apply: move 'struct apply_state' to apply.h Christian Couder
2016-04-24 13:33 ` [PATCH 57/83] builtin/apply: libify parse_whitespace_option() Christian Couder
2016-04-24 13:33 ` [PATCH 58/83] builtin/apply: libify parse_ignorewhitespace_option() Christian Couder
2016-04-24 13:33 ` [PATCH 59/83] builtin/apply: move init_apply_state() to apply.c Christian Couder
2016-05-01 19:37 ` Eric Sunshine
2016-05-01 20:19 ` Christian Couder
2016-04-24 13:34 ` [PATCH 60/83] apply: libify init_apply_state() Christian Couder
2016-04-24 13:34 ` [PATCH 61/83] builtin/apply: libify check_apply_state() Christian Couder
2016-04-25 13:26 ` Duy Nguyen
2016-05-01 16:58 ` Christian Couder
2016-04-24 13:34 ` [PATCH 62/83] builtin/apply: move check_apply_state() to apply.c Christian Couder
2016-04-24 13:34 ` [PATCH 63/83] builtin/apply: make apply_all_patches() return -1 on error Christian Couder
2016-04-25 13:30 ` Duy Nguyen
2016-05-01 18:32 ` Christian Couder
2016-05-01 21:03 ` Eric Sunshine
2016-05-02 7:09 ` Johannes Schindelin
2016-05-03 13:01 ` Christian Couder
2016-04-24 13:34 ` [PATCH 64/83] builtin/apply: make parse_traditional_patch() " Christian Couder
2016-04-24 13:34 ` [PATCH 65/83] builtin/apply: make gitdiff_verify_name() " Christian Couder
2016-04-25 13:36 ` Duy Nguyen
2016-05-01 19:31 ` Christian Couder
2016-04-24 13:34 ` [PATCH 66/83] builtin/apply: change die_on_unsafe_path() to check_unsafe_path() Christian Couder
2016-04-24 13:34 ` [PATCH 67/83] builtin/apply: make build_fake_ancestor() return -1 on error Christian Couder
2016-05-02 7:32 ` Eric Sunshine
2016-05-03 13:52 ` Christian Couder
2016-04-24 13:34 ` [PATCH 68/83] builtin/apply: make remove_file() " Christian Couder
2016-04-24 13:34 ` [PATCH 69/83] builtin/apply: make add_conflicted_stages_file() " Christian Couder
2016-05-02 7:36 ` Eric Sunshine
2016-05-03 14:33 ` Christian Couder
2016-04-24 13:34 ` [PATCH 70/83] builtin/apply: make add_index_file() " Christian Couder
2016-04-24 13:34 ` [PATCH 71/83] builtin/apply: make create_file() " Christian Couder
2016-04-24 13:34 ` [PATCH 72/83] builtin/apply: make write_out_one_result() " Christian Couder
2016-04-24 13:34 ` [PATCH 73/83] builtin/apply: make write_out_results() " Christian Couder
2016-05-02 17:42 ` Eric Sunshine
2016-05-03 14:55 ` Christian Couder
2016-04-24 13:34 ` [PATCH 74/83] builtin/apply: make try_create_file() " Christian Couder
2016-05-02 18:01 ` Eric Sunshine
2016-05-03 16:24 ` Christian Couder
2016-04-24 13:34 ` [PATCH 75/83] builtin/apply: make create_one_file() " Christian Couder
2016-04-24 13:34 ` [PATCH 76/83] builtin/apply: rename option parsing functions Christian Couder
2016-04-24 13:34 ` [PATCH 77/83] apply: rename and move opt constants to apply.h Christian Couder
2016-04-24 15:23 ` [PATCH 00/83] libify apply and use lib in am Ramsay Jones
2016-04-24 16:27 ` Christian Couder
2016-04-24 16:56 ` Christian Couder
2016-04-24 17:42 ` Ramsay Jones
2016-04-25 0:14 ` Duy Nguyen
2016-04-25 9:15 ` Christian Couder
2016-04-25 15:09 ` Johannes Schindelin
2016-04-25 9:02 ` Duy Nguyen
2016-04-25 9:57 ` Christian Couder
2016-04-25 10:11 ` Duy Nguyen
[not found] ` <1461504863-15946-79-git-send-email-chriscool@tuxfamily.org>
2016-04-25 13:46 ` [PATCH 78/83] Move libified code from builtin/apply.c to apply.{c,h} Duy Nguyen
2016-05-04 10:39 ` Christian Couder
2016-05-04 11:32 ` Duy Nguyen
2016-05-05 8:50 ` Christian Couder
2016-05-06 20:18 ` Christian Couder
2016-05-06 21:07 ` Junio C Hamano
2016-05-08 20:11 ` Christian Couder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGZ79kaaATDzOHFOmCAANcZmrF_5JGAUYW3Ub1WJ7vSLODVP_g@mail.gmail.com \
--to=sbeller@google.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=Matthieu.Moy@grenoble-inp.fr \
--cc=avarab@gmail.com \
--cc=chriscool@tuxfamily.org \
--cc=christian.couder@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=karsten.blees@gmail.com \
--cc=pclouds@gmail.com \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).