git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: mention how to define multiple strategies
@ 2008-05-15 22:10 Miklos Vajna
  2008-05-15 23:44 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Miklos Vajna @ 2008-05-15 22:10 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

pull.twohead and pull.octopus supports multiple default strategies but
this was undocumented and it was not obvious how to do so.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---
 Documentation/config.txt |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/Documentation/config.txt b/Documentation/config.txt
index 217980f..8a4abb2 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -924,10 +924,12 @@ pack.packSizeLimit::
 
 pull.octopus::
 	The default merge strategy to use when pulling multiple branches
-	at once.
+	at once. Multiple strategies can be defined using a space
+	separated list.
 
 pull.twohead::
 	The default merge strategy to use when pulling a single branch.
+	Multiple strategies can be defined using a space separated list.
 
 remote.<name>.url::
 	The URL of a remote repository.  See linkgit:git-fetch[1] or
-- 
1.5.5

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

* Re: [PATCH] Documentation: mention how to define multiple strategies
  2008-05-15 22:10 [PATCH] Documentation: mention how to define multiple strategies Miklos Vajna
@ 2008-05-15 23:44 ` Junio C Hamano
  2008-05-16  0:18   ` Miklos Vajna
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2008-05-15 23:44 UTC (permalink / raw)
  To: Miklos Vajna; +Cc: git

Miklos Vajna <vmiklos@frugalware.org> writes:

> pull.twohead and pull.octopus supports multiple default strategies but
> this was undocumented and it was not obvious how to do so.

It indeed is supported to give multiple strategies and let "git merge" try
each of them.

However, I have a very strong doubt if it is really worth keeping the
support, let alone advertising it.

Really.  It was a fun experiment while it was being invented, but I never
saw any practical usefulness with it.

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

* Re: [PATCH] Documentation: mention how to define multiple strategies
  2008-05-15 23:44 ` Junio C Hamano
@ 2008-05-16  0:18   ` Miklos Vajna
  0 siblings, 0 replies; 3+ messages in thread
From: Miklos Vajna @ 2008-05-16  0:18 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

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

On Thu, May 15, 2008 at 04:44:01PM -0700, Junio C Hamano <gitster@pobox.com> wrote:
> It indeed is supported to give multiple strategies and let "git merge" try
> each of them.
> 
> However, I have a very strong doubt if it is really worth keeping the
> support, let alone advertising it.
> 
> Really.  It was a fun experiment while it was being invented, but I never
> saw any practical usefulness with it.

As a general rule, I try to change nothing while working on
builtin-merge. Should I drop support for it (making an exception here),
or will you accept tests for this, just you would like to exclude it
from documentation?

Thanks.

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

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

end of thread, other threads:[~2008-05-16  0:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-15 22:10 [PATCH] Documentation: mention how to define multiple strategies Miklos Vajna
2008-05-15 23:44 ` Junio C Hamano
2008-05-16  0:18   ` Miklos Vajna

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).