git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] Teach "git-merge" that "stupid" merge strategy no longer exists
@ 2008-07-20 10:21 Nanako Shiraishi
  2008-07-20 12:12 ` [PATCH] Teach 'git merge' that 'recur' " Miklos Vajna
  0 siblings, 1 reply; 4+ messages in thread
From: Nanako Shiraishi @ 2008-07-20 10:21 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano

Next release 1.6.0 will not have "stupid" merge strategy, but
"git merge -s confused origin" still includs it in the list of
available merge strategies.

Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
---
 builtin-merge.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/builtin-merge.c b/builtin-merge.c
index 129b4e6..edc6016 100644
--- a/builtin-merge.c
+++ b/builtin-merge.c
@@ -54,7 +54,6 @@ static struct strategy all_strategy[] = {
 	{ "recursive",  DEFAULT_TWOHEAD | NO_TRIVIAL },
 	{ "octopus",    DEFAULT_OCTOPUS },
 	{ "resolve",    0 },
-	{ "stupid",     0 },
 	{ "ours",       NO_FAST_FORWARD | NO_TRIVIAL },
 	{ "subtree",    NO_FAST_FORWARD | NO_TRIVIAL },
 };
-- 
1.5.6.3

-- 
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] Teach 'git merge' that 'recur' merge strategy no longer exists
  2008-07-20 10:21 [PATCH] Teach "git-merge" that "stupid" merge strategy no longer exists Nanako Shiraishi
@ 2008-07-20 12:12 ` Miklos Vajna
  2008-07-20 18:33   ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Miklos Vajna @ 2008-07-20 12:12 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Nanako Shiraishi, git

It co-existed with 'recursive' when rewriting it in C, but it no longer
available.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---

On Sun, Jul 20, 2008 at 07:21:25PM +0900, Nanako Shiraishi <nanako3@lavabit.com> wrote:
> -     { "stupid",     0 },

If we are at it, recur is also something unnecessary here.

 builtin-merge.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/builtin-merge.c b/builtin-merge.c
index 129b4e6..beba635 100644
--- a/builtin-merge.c
+++ b/builtin-merge.c
@@ -50,7 +50,6 @@ static size_t use_strategies_nr, use_strategies_alloc;
 static const char *branch;
 
 static struct strategy all_strategy[] = {
-	{ "recur",      NO_TRIVIAL },
 	{ "recursive",  DEFAULT_TWOHEAD | NO_TRIVIAL },
 	{ "octopus",    DEFAULT_OCTOPUS },
 	{ "resolve",    0 },
-- 
1.5.6.2.450.g8d367.dirty

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Teach 'git merge' that 'recur' merge strategy no longer exists
  2008-07-20 12:12 ` [PATCH] Teach 'git merge' that 'recur' " Miklos Vajna
@ 2008-07-20 18:33   ` Junio C Hamano
  2008-07-20 18:50     ` Miklos Vajna
  0 siblings, 1 reply; 4+ messages in thread
From: Junio C Hamano @ 2008-07-20 18:33 UTC (permalink / raw)
  To: Miklos Vajna; +Cc: Nanako Shiraishi, git

Miklos Vajna <vmiklos@frugalware.org> writes:

> It co-existed with 'recursive' when rewriting it in C, but it no longer
> available.
>
> Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
> ---
>
> On Sun, Jul 20, 2008 at 07:21:25PM +0900, Nanako Shiraishi <nanako3@lavabit.com> wrote:
>> -     { "stupid",     0 },
>
> If we are at it, recur is also something unnecessary here.

Good eyes, both of you.  Will roll a die and commit one squashed,
creditting one of you at random ;-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Teach 'git merge' that 'recur' merge strategy no longer exists
  2008-07-20 18:33   ` Junio C Hamano
@ 2008-07-20 18:50     ` Miklos Vajna
  0 siblings, 0 replies; 4+ messages in thread
From: Miklos Vajna @ 2008-07-20 18:50 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: Nanako Shiraishi, git

[-- Attachment #1: Type: text/plain, Size: 260 bytes --]

On Sun, Jul 20, 2008 at 11:33:24AM -0700, Junio C Hamano <gitster@pobox.com> wrote:
> Good eyes, both of you.  Will roll a die and commit one squashed,
> creditting one of you at random ;-)

I thought commit messages can have multiple Signed-off-by lines. ;-)

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-20 18:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-20 10:21 [PATCH] Teach "git-merge" that "stupid" merge strategy no longer exists Nanako Shiraishi
2008-07-20 12:12 ` [PATCH] Teach 'git merge' that 'recur' " Miklos Vajna
2008-07-20 18:33   ` Junio C Hamano
2008-07-20 18:50     ` Miklos Vajna

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).