git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Philippe Bruhat (BooK) <book@cpan.org>
Date
Feb 28, 2008, 10:18 UTC
Message-ID
<1204193904-3652-4-git-send-email-book@cpan.org>
In-Reply-To
<1204193904-3652-3-git-send-email-book@cpan.org>
From: Philippe Bruhat (BooK <book@cpan.org>
Also document the capture behaviour (source branch name in $1)
Signed-off-by: Philippe Bruhat (BooK) <book@cpan.org>
---
 Documentation/git-cvsimport.txt |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-cvsimport.txt b/Documentation/git-cvsimport.txt
index 6f91b9e..58eefd4 100644
--- a/Documentation/git-cvsimport.txt
+++ b/Documentation/git-cvsimport.txt
@@ -102,13 +102,17 @@ 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>::
 	Attempt to detect merges based on the commit message with a custom
 	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.2.187.gfc276
Previous: Philippe Bruhat (BooK)Next: Philippe Bruhat (BooK)
Message 4 of 9 in “Multiple -M options for git-cvsimport”
  1. Philippe Bruhat (BooK)Feb 28, 2008
  2. cvsimport: have default merge regex allow for dashes in the branch namePhilippe Bruhat (BooK), Feb 28, 2008
  3. cvsimport: allow for multiple -M optionsPhilippe Bruhat (BooK), Feb 28, 2008
  4. cvsimport: document that -M can be used multiple timesPhilippe Bruhat (BooK), Feb 28, 2008
  5. cvsimport: configure Getopt::Long to bundle optionsPhilippe Bruhat (BooK), Feb 28, 2008
  6. Junio C HamanoFeb 28, 2008
  7. Philippe Bruhat (BooK)Feb 29, 2008
  8. Junio C HamanoMar 1, 2008
  9. Junio C HamanoMar 1, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.