* [PATCH v6 0/3] rr/fmt-merge-msg replacement
@ 2010-08-25 10:48 Ramkumar Ramachandra
2010-08-25 10:48 ` [PATCH v6 1/3] fmt_merge_msg: Change fmt_merge_msg API to accept shortlog_len Ramkumar Ramachandra
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Ramkumar Ramachandra @ 2010-08-25 10:48 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Git Mailing List, Jonathan Nieder
Hi Junio,
This is a replacement for rr/fmt-merge-msg. It corrects the problems
pointed out by Jonathan and adds one extra patch. Additionally, I've
rebased it so there's no merge conflict when you merge it into `pu`
(see: jn/merge-renormalize). 4/5 from v5 has been dropped.
Thanks.
Ramkumar Ramachandra (3):
fmt_merge_msg: Change fmt_merge_msg API to accept shortlog_len
merge: Make '--log' an integer option for number of shortlog entries
merge: Make 'merge.log' an integer or boolean option
Documentation/git-fmt-merge-msg.txt | 10 ++++--
Documentation/merge-config.txt | 6 ++-
Documentation/merge-options.txt | 6 ++--
builtin.h | 7 ++--
builtin/fmt-merge-msg.c | 56 +++++++++++++++++-----------------
builtin/merge.c | 29 ++++++++++--------
6 files changed, 61 insertions(+), 53 deletions(-)
--
1.7.2.2.409.gdbb11.dirty
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v6 1/3] fmt_merge_msg: Change fmt_merge_msg API to accept shortlog_len
2010-08-25 10:48 [PATCH v6 0/3] rr/fmt-merge-msg replacement Ramkumar Ramachandra
@ 2010-08-25 10:48 ` Ramkumar Ramachandra
2010-08-25 10:48 ` [PATCH v6 2/3] merge: Make '--log' an integer option for number of shortlog entries Ramkumar Ramachandra
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Ramkumar Ramachandra @ 2010-08-25 10:48 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Git Mailing List, Jonathan Nieder
Give "shortlog_len" parameter to the fmt_merge_msg(), remove its
"merge_summary" parameter, and remove fmt_merge_msg_shortlog() function.
In the updated API, shortlog_len == 0 means no shortlog is given.
The parameter "merge_title" controls if the title of the merge commit is
autogenerated (it reads something like "Merge branch ..."), and typically
it is set to true when the caller does not give its own message.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Helped-and-Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
builtin.h | 7 ++++---
builtin/fmt-merge-msg.c | 30 ++++++++++++++----------------
builtin/merge.c | 14 ++++++--------
3 files changed, 24 insertions(+), 27 deletions(-)
diff --git a/builtin.h b/builtin.h
index 9c3d50b..009992e 100644
--- a/builtin.h
+++ b/builtin.h
@@ -7,6 +7,8 @@
#include "commit.h"
#include "notes.h"
+#define DEFAULT_MERGE_LOG_LEN 20
+
extern const char git_version_string[];
extern const char git_usage_string[];
extern const char git_more_info_string[];
@@ -14,9 +16,8 @@ extern const char git_more_info_string[];
extern void list_common_cmds_help(void);
extern const char *help_unknown_cmd(const char *cmd);
extern void prune_packed_objects(int);
-extern int fmt_merge_msg(int merge_summary, struct strbuf *in,
- struct strbuf *out);
-extern int fmt_merge_msg_shortlog(struct strbuf *in, struct strbuf *out);
+extern int fmt_merge_msg(struct strbuf *in, struct strbuf *out,
+ int merge_title, int shortlog_len);
extern int commit_notes(struct notes_tree *t, const char *msg);
struct notes_rewrite_cfg {
diff --git a/builtin/fmt-merge-msg.c b/builtin/fmt-merge-msg.c
index e7e12ee..7f06b95 100644
--- a/builtin/fmt-merge-msg.c
+++ b/builtin/fmt-merge-msg.c
@@ -255,9 +255,9 @@ static void do_fmt_merge_msg_title(struct strbuf *out,
strbuf_addf(out, " into %s\n", current_branch);
}
-static int do_fmt_merge_msg(int merge_title, int merge_summary,
- struct strbuf *in, struct strbuf *out) {
- int limit = 20, i = 0, pos = 0;
+static int do_fmt_merge_msg(int merge_title, struct strbuf *in,
+ struct strbuf *out, int shortlog_len) {
+ int i = 0, pos = 0;
unsigned char head_sha1[20];
const char *current_branch;
@@ -288,7 +288,7 @@ static int do_fmt_merge_msg(int merge_title, int merge_summary,
if (merge_title)
do_fmt_merge_msg_title(out, current_branch);
- if (merge_summary) {
+ if (shortlog_len) {
struct commit *head;
struct rev_info rev;
@@ -303,17 +303,14 @@ static int do_fmt_merge_msg(int merge_title, int merge_summary,
for (i = 0; i < origins.nr; i++)
shortlog(origins.items[i].string, origins.items[i].util,
- head, &rev, limit, out);
+ head, &rev, shortlog_len, out);
}
return 0;
}
-int fmt_merge_msg(int merge_summary, struct strbuf *in, struct strbuf *out) {
- return do_fmt_merge_msg(1, merge_summary, in, out);
-}
-
-int fmt_merge_msg_shortlog(struct strbuf *in, struct strbuf *out) {
- return do_fmt_merge_msg(0, 1, in, out);
+int fmt_merge_msg(struct strbuf *in, struct strbuf *out,
+ int merge_title, int shortlog_len) {
+ return do_fmt_merge_msg(merge_title, in, out, shortlog_len);
}
int cmd_fmt_merge_msg(int argc, const char **argv, const char *prefix)
@@ -355,12 +352,13 @@ int cmd_fmt_merge_msg(int argc, const char **argv, const char *prefix)
if (strbuf_read(&input, fileno(in), 0) < 0)
die_errno("could not read input file");
- if (message) {
+
+ if (message)
strbuf_addstr(&output, message);
- ret = fmt_merge_msg_shortlog(&input, &output);
- } else {
- ret = fmt_merge_msg(merge_summary, &input, &output);
- }
+ ret = fmt_merge_msg(&input, &output,
+ message ? 0 : 1,
+ merge_summary ? DEFAULT_MERGE_LOG_LEN : 0);
+
if (ret)
return ret;
write_in_full(STDOUT_FILENO, output.buf, output.len);
diff --git a/builtin/merge.c b/builtin/merge.c
index 017e6d0..1f4d68d 100644
--- a/builtin/merge.c
+++ b/builtin/merge.c
@@ -1017,14 +1017,12 @@ int cmd_merge(int argc, const char **argv, const char *prefix)
for (i = 0; i < argc; i++)
merge_name(argv[i], &merge_names);
- if (have_message && option_log)
- fmt_merge_msg_shortlog(&merge_names, &merge_msg);
- else if (!have_message)
- fmt_merge_msg(option_log, &merge_names, &merge_msg);
-
-
- if (!(have_message && !option_log) && merge_msg.len)
- strbuf_setlen(&merge_msg, merge_msg.len-1);
+ if (!have_message || option_log) {
+ fmt_merge_msg(&merge_names, &merge_msg, !have_message,
+ option_log ? DEFAULT_MERGE_LOG_LEN : 0);
+ if (merge_msg.len)
+ strbuf_setlen(&merge_msg, merge_msg.len - 1);
+ }
}
if (head_invalid || !argc)
--
1.7.2.2.409.gdbb11.dirty
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v6 2/3] merge: Make '--log' an integer option for number of shortlog entries
2010-08-25 10:48 [PATCH v6 0/3] rr/fmt-merge-msg replacement Ramkumar Ramachandra
2010-08-25 10:48 ` [PATCH v6 1/3] fmt_merge_msg: Change fmt_merge_msg API to accept shortlog_len Ramkumar Ramachandra
@ 2010-08-25 10:48 ` Ramkumar Ramachandra
2010-08-25 10:48 ` [PATCH v6 3/3] merge: Make 'merge.log' an integer or boolean option Ramkumar Ramachandra
2010-08-25 20:43 ` [PATCH v6 0/3] rr/fmt-merge-msg replacement Junio C Hamano
3 siblings, 0 replies; 7+ messages in thread
From: Ramkumar Ramachandra @ 2010-08-25 10:48 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Git Mailing List, Jonathan Nieder
Change the command-line '--log' option from a boolean option to an
integer option, and parse the optional integer provided on the
command-line into the 'shortlog_len' variable. Also update the
documentation accordingly.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Reported-by: Yaroslav Halchenko <debian@onerussian.com>
Thanks-to: Jonathan Nieder <jrnieder@gmail.com>
Thanks-to: Johannes Sixt <j.sixt@viscovery.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
Documentation/git-fmt-merge-msg.txt | 10 ++++++----
Documentation/merge-options.txt | 6 +++---
builtin/fmt-merge-msg.c | 26 ++++++++++++++++----------
builtin/merge.c | 13 +++++++------
4 files changed, 32 insertions(+), 23 deletions(-)
diff --git a/Documentation/git-fmt-merge-msg.txt b/Documentation/git-fmt-merge-msg.txt
index 302f56b..f04a9ff 100644
--- a/Documentation/git-fmt-merge-msg.txt
+++ b/Documentation/git-fmt-merge-msg.txt
@@ -9,8 +9,8 @@ git-fmt-merge-msg - Produce a merge commit message
SYNOPSIS
--------
[verse]
-'git fmt-merge-msg' [-m <message>] [--log | --no-log] <$GIT_DIR/FETCH_HEAD
-'git fmt-merge-msg' [-m <message>] [--log | --no-log] -F <file>
+'git fmt-merge-msg' [-m <message>] [--log[=<n>] | --no-log] <$GIT_DIR/FETCH_HEAD
+'git fmt-merge-msg' [-m <message>] [--log[=<n>] | --no-log] -F <file>
DESCRIPTION
-----------
@@ -24,10 +24,12 @@ automatically invoking 'git merge'.
OPTIONS
-------
---log::
+--log[=<n>]::
In addition to branch names, populate the log message with
one-line descriptions from the actual commits that are being
- merged.
+ merged. At most <n> commits from each merge parent will be
+ used (20 if <n> is omitted). This overrides the `merge.log`
+ configuration variable.
--no-log::
Do not list one-line descriptions from the actual commits being
diff --git a/Documentation/merge-options.txt b/Documentation/merge-options.txt
index 722d704..e33e0f8 100644
--- a/Documentation/merge-options.txt
+++ b/Documentation/merge-options.txt
@@ -16,11 +16,11 @@ inspect and further tweak the merge result before committing.
With --no-ff Generate a merge commit even if the merge
resolved as a fast-forward.
---log::
+--log[=<n>]::
--no-log::
In addition to branch names, populate the log message with
- one-line descriptions from the actual commits that are being
- merged.
+ one-line descriptions from at most <n> actual commits that are being
+ merged. See also linkgit:git-fmt-merge-msg[1].
+
With --no-log do not list one-line descriptions from the
actual commits being merged.
diff --git a/builtin/fmt-merge-msg.c b/builtin/fmt-merge-msg.c
index 7f06b95..ec933df 100644
--- a/builtin/fmt-merge-msg.c
+++ b/builtin/fmt-merge-msg.c
@@ -7,21 +7,24 @@
#include "string-list.h"
static const char * const fmt_merge_msg_usage[] = {
- "git fmt-merge-msg [-m <message>] [--log|--no-log] [--file <file>]",
+ "git fmt-merge-msg [-m <message>] [--log[=<n>]|--no-log] [--file <file>]",
NULL
};
-static int merge_summary;
+static int shortlog_len;
static int fmt_merge_msg_config(const char *key, const char *value, void *cb)
{
static int found_merge_log = 0;
if (!strcmp("merge.log", key)) {
found_merge_log = 1;
- merge_summary = git_config_bool(key, value);
+ shortlog_len = git_config_bool(key, value) ? DEFAULT_MERGE_LOG_LEN : 0;
+ return 0;
+ }
+ if (!found_merge_log && !strcmp("merge.summary", key)) {
+ shortlog_len = git_config_bool(key, value) ? DEFAULT_MERGE_LOG_LEN : 0;
+ return 0;
}
- if (!found_merge_log && !strcmp("merge.summary", key))
- merge_summary = git_config_bool(key, value);
return 0;
}
@@ -318,10 +321,13 @@ int cmd_fmt_merge_msg(int argc, const char **argv, const char *prefix)
const char *inpath = NULL;
const char *message = NULL;
struct option options[] = {
- OPT_BOOLEAN(0, "log", &merge_summary, "populate log with the shortlog"),
- { OPTION_BOOLEAN, 0, "summary", &merge_summary, NULL,
+ { OPTION_INTEGER, 0, "log", &shortlog_len, "n",
+ "populate log with <n> entries from shortlog",
+ PARSE_OPT_OPTARG, NULL, DEFAULT_MERGE_LOG_LEN },
+ { OPTION_INTEGER, 0, "summary", &shortlog_len, "n",
"alias for --log (deprecated)",
- PARSE_OPT_NOARG | PARSE_OPT_HIDDEN },
+ PARSE_OPT_OPTARG | PARSE_OPT_HIDDEN, NULL,
+ DEFAULT_MERGE_LOG_LEN},
OPT_STRING('m', "message", &message, "text",
"use <text> as start of message"),
OPT_FILENAME('F', "file", &inpath, "file to read from"),
@@ -337,7 +343,7 @@ int cmd_fmt_merge_msg(int argc, const char **argv, const char *prefix)
0);
if (argc > 0)
usage_with_options(fmt_merge_msg_usage, options);
- if (message && !merge_summary) {
+ if (message && !shortlog_len) {
char nl = '\n';
write_in_full(STDOUT_FILENO, message, strlen(message));
write_in_full(STDOUT_FILENO, &nl, 1);
@@ -357,7 +363,7 @@ int cmd_fmt_merge_msg(int argc, const char **argv, const char *prefix)
strbuf_addstr(&output, message);
ret = fmt_merge_msg(&input, &output,
message ? 0 : 1,
- merge_summary ? DEFAULT_MERGE_LOG_LEN : 0);
+ shortlog_len);
if (ret)
return ret;
diff --git a/builtin/merge.c b/builtin/merge.c
index 1f4d68d..b067b84 100644
--- a/builtin/merge.c
+++ b/builtin/merge.c
@@ -42,7 +42,7 @@ static const char * const builtin_merge_usage[] = {
NULL
};
-static int show_diffstat = 1, option_log, squash;
+static int show_diffstat = 1, shortlog_len, squash;
static int option_commit = 1, allow_fast_forward = 1;
static int fast_forward_only;
static int allow_trivial = 1, have_message;
@@ -177,8 +177,9 @@ static struct option builtin_merge_options[] = {
OPT_BOOLEAN(0, "stat", &show_diffstat,
"show a diffstat at the end of the merge"),
OPT_BOOLEAN(0, "summary", &show_diffstat, "(synonym to --stat)"),
- OPT_BOOLEAN(0, "log", &option_log,
- "add list of one-line log to merge commit message"),
+ { OPTION_INTEGER, 0, "log", &shortlog_len, "n",
+ "add (at most <n>) entries from shortlog to merge commit message",
+ PARSE_OPT_OPTARG, NULL, DEFAULT_MERGE_LOG_LEN },
OPT_BOOLEAN(0, "squash", &squash,
"create a single commit instead of doing a merge"),
OPT_BOOLEAN(0, "commit", &option_commit,
@@ -507,7 +508,7 @@ static int git_merge_config(const char *k, const char *v, void *cb)
else if (!strcmp(k, "pull.octopus"))
return git_config_string(&pull_octopus, k, v);
else if (!strcmp(k, "merge.log") || !strcmp(k, "merge.summary"))
- option_log = git_config_bool(k, v);
+ shortlog_len = git_config_bool(k, v) ? DEFAULT_MERGE_LOG_LEN : 0;
else if (!strcmp(k, "merge.renormalize"))
option_renormalize = git_config_bool(k, v);
return git_diff_ui_config(k, v, cb);
@@ -1017,9 +1018,9 @@ int cmd_merge(int argc, const char **argv, const char *prefix)
for (i = 0; i < argc; i++)
merge_name(argv[i], &merge_names);
- if (!have_message || option_log) {
+ if (!have_message || shortlog_len) {
fmt_merge_msg(&merge_names, &merge_msg, !have_message,
- option_log ? DEFAULT_MERGE_LOG_LEN : 0);
+ shortlog_len);
if (merge_msg.len)
strbuf_setlen(&merge_msg, merge_msg.len - 1);
}
--
1.7.2.2.409.gdbb11.dirty
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v6 3/3] merge: Make 'merge.log' an integer or boolean option
2010-08-25 10:48 [PATCH v6 0/3] rr/fmt-merge-msg replacement Ramkumar Ramachandra
2010-08-25 10:48 ` [PATCH v6 1/3] fmt_merge_msg: Change fmt_merge_msg API to accept shortlog_len Ramkumar Ramachandra
2010-08-25 10:48 ` [PATCH v6 2/3] merge: Make '--log' an integer option for number of shortlog entries Ramkumar Ramachandra
@ 2010-08-25 10:48 ` Ramkumar Ramachandra
2010-08-25 20:43 ` [PATCH v6 0/3] rr/fmt-merge-msg replacement Junio C Hamano
3 siblings, 0 replies; 7+ messages in thread
From: Ramkumar Ramachandra @ 2010-08-25 10:48 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Git Mailing List, Jonathan Nieder
Make 'merge.log' an integer or boolean option to set the number of
shortlog entries to display in the merge commit. Note that it defaults
to false, and that true means a default value of 20. Also update
corresponding documentation.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Thanks-to: Jonathan Nieder <jrnieder@gmail.com>
Thanks-to: Johannes Sixt <j.sixt@viscovery.net>
---
Documentation/git-fmt-merge-msg.txt | 6 ++++--
Documentation/merge-config.txt | 6 ++++--
builtin/fmt-merge-msg.c | 14 +++++---------
builtin/merge.c | 8 ++++++--
4 files changed, 19 insertions(+), 15 deletions(-)
diff --git a/Documentation/git-fmt-merge-msg.txt b/Documentation/git-fmt-merge-msg.txt
index f04a9ff..40dba8c 100644
--- a/Documentation/git-fmt-merge-msg.txt
+++ b/Documentation/git-fmt-merge-msg.txt
@@ -54,8 +54,10 @@ CONFIGURATION
-------------
merge.log::
- Whether to include summaries of merged commits in newly
- merge commit messages. False by default.
+ In addition to branch names, populate the log message with at
+ most the specified number of one-line descriptions from the
+ actual commits that are being merged. Defaults to false, and
+ true is a synoym for 20.
merge.summary::
Synonym to `merge.log`; this is deprecated and will be removed in
diff --git a/Documentation/merge-config.txt b/Documentation/merge-config.txt
index b72f533..92772e7 100644
--- a/Documentation/merge-config.txt
+++ b/Documentation/merge-config.txt
@@ -7,8 +7,10 @@ merge.conflictstyle::
marker and the original text before the `=======` marker.
merge.log::
- Whether to include summaries of merged commits in newly created
- merge commit messages. False by default.
+ In addition to branch names, populate the log message with at
+ most the specified number of one-line descriptions from the
+ actual commits that are being merged. Defaults to false, and
+ true is a synoym for 20.
merge.renameLimit::
The number of files to consider when performing rename detection
diff --git a/builtin/fmt-merge-msg.c b/builtin/fmt-merge-msg.c
index ec933df..b61416e 100644
--- a/builtin/fmt-merge-msg.c
+++ b/builtin/fmt-merge-msg.c
@@ -15,15 +15,11 @@ static int shortlog_len;
static int fmt_merge_msg_config(const char *key, const char *value, void *cb)
{
- static int found_merge_log = 0;
- if (!strcmp("merge.log", key)) {
- found_merge_log = 1;
- shortlog_len = git_config_bool(key, value) ? DEFAULT_MERGE_LOG_LEN : 0;
- return 0;
- }
- if (!found_merge_log && !strcmp("merge.summary", key)) {
- shortlog_len = git_config_bool(key, value) ? DEFAULT_MERGE_LOG_LEN : 0;
- return 0;
+ if (!strcmp(key, "merge.log") || !strcmp(key, "merge.summary")) {
+ int is_bool;
+ shortlog_len = git_config_bool_or_int(key, value, &is_bool);
+ if (is_bool && shortlog_len)
+ shortlog_len = DEFAULT_MERGE_LOG_LEN;
}
return 0;
}
diff --git a/builtin/merge.c b/builtin/merge.c
index b067b84..45ff6d6 100644
--- a/builtin/merge.c
+++ b/builtin/merge.c
@@ -507,8 +507,12 @@ static int git_merge_config(const char *k, const char *v, void *cb)
return git_config_string(&pull_twohead, k, v);
else if (!strcmp(k, "pull.octopus"))
return git_config_string(&pull_octopus, k, v);
- else if (!strcmp(k, "merge.log") || !strcmp(k, "merge.summary"))
- shortlog_len = git_config_bool(k, v) ? DEFAULT_MERGE_LOG_LEN : 0;
+ else if (!strcmp(k, "merge.log") || !strcmp(k, "merge.summary")) {
+ int is_bool;
+ shortlog_len = git_config_bool_or_int(k, v, &is_bool);
+ if (is_bool && shortlog_len)
+ shortlog_len = DEFAULT_MERGE_LOG_LEN;
+ }
else if (!strcmp(k, "merge.renormalize"))
option_renormalize = git_config_bool(k, v);
return git_diff_ui_config(k, v, cb);
--
1.7.2.2.409.gdbb11.dirty
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v6 0/3] rr/fmt-merge-msg replacement
2010-08-25 10:48 [PATCH v6 0/3] rr/fmt-merge-msg replacement Ramkumar Ramachandra
` (2 preceding siblings ...)
2010-08-25 10:48 ` [PATCH v6 3/3] merge: Make 'merge.log' an integer or boolean option Ramkumar Ramachandra
@ 2010-08-25 20:43 ` Junio C Hamano
2010-08-26 5:12 ` Ramkumar Ramachandra
3 siblings, 1 reply; 7+ messages in thread
From: Junio C Hamano @ 2010-08-25 20:43 UTC (permalink / raw)
To: Ramkumar Ramachandra; +Cc: Git Mailing List, Jonathan Nieder
Ramkumar Ramachandra <artagnon@gmail.com> writes:
> This is a replacement for rr/fmt-merge-msg. It corrects the problems
> pointed out by Jonathan and adds one extra patch. Additionally, I've
> rebased it so there's no merge conflict when you merge it into `pu`
> (see: jn/merge-renormalize). 4/5 from v5 has been dropped.
Thanks,
Just as a future reference, in a case like this that results in trivial
conflict, I'd prefer to see a patch that can be used independently from
other unrelated branches.
Maybe you'd want a new test or two in t6200?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v6 0/3] rr/fmt-merge-msg replacement
2010-08-25 20:43 ` [PATCH v6 0/3] rr/fmt-merge-msg replacement Junio C Hamano
@ 2010-08-26 5:12 ` Ramkumar Ramachandra
2010-08-26 16:58 ` Junio C Hamano
0 siblings, 1 reply; 7+ messages in thread
From: Ramkumar Ramachandra @ 2010-08-26 5:12 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Git Mailing List, Jonathan Nieder
Hi Junio,
Junio C Hamano writes:
> Ramkumar Ramachandra <artagnon@gmail.com> writes:
>
> > This is a replacement for rr/fmt-merge-msg. It corrects the problems
> > pointed out by Jonathan and adds one extra patch. Additionally, I've
> > rebased it so there's no merge conflict when you merge it into `pu`
> > (see: jn/merge-renormalize). 4/5 from v5 has been dropped.
>
> Thanks,
>
> Just as a future reference, in a case like this that results in trivial
> conflict, I'd prefer to see a patch that can be used independently from
> other unrelated branches.
Oh, okay. I think I realize why- if the dependent topics are ejected,
you'll have more trouble taking this forward to `next` and `master`,
right?
> Maybe you'd want a new test or two in t6200?
Good idea! It'll give me the chance to familiarize myself with
test-lib.sh :)
-- Ram
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v6 0/3] rr/fmt-merge-msg replacement
2010-08-26 5:12 ` Ramkumar Ramachandra
@ 2010-08-26 16:58 ` Junio C Hamano
0 siblings, 0 replies; 7+ messages in thread
From: Junio C Hamano @ 2010-08-26 16:58 UTC (permalink / raw)
To: Ramkumar Ramachandra; +Cc: Git Mailing List, Jonathan Nieder
Ramkumar Ramachandra <artagnon@gmail.com> writes:
>> Just as a future reference, in a case like this that results in trivial
>> conflict, I'd prefer to see a patch that can be used independently from
>> other unrelated branches.
>
> Oh, okay. I think I realize why- if the dependent topics are ejected,
> you'll have more trouble taking this forward to `next` and `master`,
> right?
Not just "ejection". In general topics mature at different rates, and
there is no point requiring the other unrelated topic to graduate first to
'master' before your topic does.
>> Maybe you'd want a new test or two in t6200?
>
> Good idea! It'll give me the chance to familiarize myself with
> test-lib.sh :)
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-08-26 16:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-25 10:48 [PATCH v6 0/3] rr/fmt-merge-msg replacement Ramkumar Ramachandra
2010-08-25 10:48 ` [PATCH v6 1/3] fmt_merge_msg: Change fmt_merge_msg API to accept shortlog_len Ramkumar Ramachandra
2010-08-25 10:48 ` [PATCH v6 2/3] merge: Make '--log' an integer option for number of shortlog entries Ramkumar Ramachandra
2010-08-25 10:48 ` [PATCH v6 3/3] merge: Make 'merge.log' an integer or boolean option Ramkumar Ramachandra
2010-08-25 20:43 ` [PATCH v6 0/3] rr/fmt-merge-msg replacement Junio C Hamano
2010-08-26 5:12 ` Ramkumar Ramachandra
2010-08-26 16:58 ` Junio C Hamano
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).