# [PATCH] cvsimport: document that -M can be used multiple times

3 messages from 2008-02-21 to 2008-02-21. Participants: Philippe Bruhat (BooK), Junio C Hamano.
Thread: https://gitlist.dev/t/12241

## Philippe Bruhat (BooK), 2008-02-21 14:41

Subject: [PATCH] cvsimport: document that -M can be used multiple times
Message-ID: <1203604906-29113-1-git-send-email-book@cpan.org>
URL: https://gitlist.dev/e/1203604906-29113-1-git-send-email-book%40cpan.org

```
Also document the capture behaviour (source branch name in $1)

Signed-off-by: Philippe Bruhat (BooK) <book@cpan.org>
---
 Documentation/git-cvsimport.txt |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt
index 6f91b9e..5e0a314 100644
--- a/Documentation/git-cvsimport.txt
+++ b/Documentation/git-cvsimport.txt
@@ -102,7 +102,7 @@ If you need to pass multiple options, separate them with a comma.
 
 -m::
 	Attempt to detect merges based on the commit message. This option
-	will enable default regexes that try to capture the name source
+	will enable default regexes that try to capture the source
 	branch name from the commit message.
 
 -M <regex>::
@@ -110,6 +110,11 @@ If you need to pass multiple options, separate them with a comma.
 	regex. It can be used with '-m' to enable the default regexes
 	as well. You must escape forward slashes.
 
+	The regex must capture the source branch name in $1.
+
+	This option can be used several times to provide several
+	detection regexes.
+
 -S <regex>::
 	Skip paths matching the regex.
 
-- 
1.5.4.1

```

## Junio C Hamano, 2008-02-21 22:52

Subject: Re: [PATCH] cvsimport: document that -M can be used multiple times
Message-ID: <7vhcg1sz0s.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vhcg1sz0s.fsf%40gitster.siamese.dyndns.org
In-Reply-To: <1203604906-29113-1-git-send-email-book@cpan.org>

```
"Philippe Bruhat (BooK)" <book@cpan.org> writes:

> Also document the capture behaviour (source branch name in $1)
>
> Signed-off-by: Philippe Bruhat (BooK) <book@cpan.org>
> ---
>  Documentation/git-cvsimport.txt |    7 ++++++-
>  1 files changed, 6 insertions(+), 1 deletions(-)
>
> diff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt
> index 6f91b9e..5e0a314 100644
> --- a/Documentation/git-cvsimport.txt
> +++ b/Documentation/git-cvsimport.txt
> ...
> @@ -110,6 +110,11 @@ If you need to pass multiple options, separate them with a comma.
>  	regex. It can be used with '-m' to enable the default regexes
>  	as well. You must escape forward slashes.
>  
> +	The regex must capture the source branch name in $1.
> +
> +	This option can be used several times to provide several
> +	detection regexes.
> +
>  -S <regex>::
>  	Skip paths matching the regex.

Hmmm.  Have you tried formatting this to see it produces a
sensible result?

```

## Philippe Bruhat (BooK), 2008-02-21 23:13

Subject: Re: [PATCH] cvsimport: document that -M can be used multiple times
Message-ID: <20080221231301.GA27697@plop.home.bruhat.net>
URL: https://gitlist.dev/e/20080221231301.GA27697%40plop.home.bruhat.net
In-Reply-To: <7vhcg1sz0s.fsf@gitster.siamese.dyndns.org>

```
On Thu, Feb 21, 2008 at 02:52:35PM -0800, Junio C Hamano wrote:
> 
> Hmmm.  Have you tried formatting this to see it produces a
> sensible result?

Er, no. I'll check and send a new patch if necessary.

-- 
 Philippe Bruhat (BooK)

 The surest path to chaos is too much organization.
                                                 (Moral from Groo #4 (Image))

```
