Skip to content

Commit 3c832a7

Browse files
bookgitster
authored andcommitted
cvsimport: document that -M can be used multiple times
Also document the capture behaviour (source branch name in $1) Signed-off-by: Philippe Bruhat (BooK) <book@cpan.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent bc434e8 commit 3c832a7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Documentation/git-cvsimport.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,17 @@ If you need to pass multiple options, separate them with a comma.
102102

103103
-m::
104104
Attempt to detect merges based on the commit message. This option
105-
will enable default regexes that try to capture the name source
105+
will enable default regexes that try to capture the source
106106
branch name from the commit message.
107107

108108
-M <regex>::
109109
Attempt to detect merges based on the commit message with a custom
110110
regex. It can be used with '-m' to enable the default regexes
111111
as well. You must escape forward slashes.
112+
+
113+
The regex must capture the source branch name in $1.
114+
+
115+
This option can be used several times to provide several detection regexes.
112116

113117
-S <regex>::
114118
Skip paths matching the regex.

0 commit comments

Comments
 (0)