projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b75bb1d
)
cvsimport: have default merge regex allow for dashes in the branch name
author
Philippe Bruhat (BooK
<book@cpan.org>
Thu, 28 Feb 2008 10:18:21 +0000
(11:18 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 1 Mar 2008 08:55:38 +0000
(
00:55
-0800)
The default value of @mergerx uses \w, which matches word
character; a branch name like policy-
20050608
-br will not be
matched.
Signed-off-by: Philippe Bruhat (BooK) <book@cpan.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsimport.perl
patch
|
blob
|
history
diff --git
a/git-cvsimport.perl
b/git-cvsimport.perl
index 9516242338d95687b4354a6d21692cbd10547899..3d013a7d622fbf383ffab2904d34584e8107f085 100755
(executable)
--- a/
git-cvsimport.perl
+++ b/
git-cvsimport.perl
@@
-164,7
+164,7
@@
if ($#ARGV == 0) {
our @mergerx = ();
if ($opt_m) {
- @mergerx = ( qr/\b(?:from|of|merge|merging|merged) (
\w
+)/i );
+ @mergerx = ( qr/\b(?:from|of|merge|merging|merged) (
[-\w]
+)/i );
}
if ($opt_M) {
push (@mergerx, qr/$opt_M/);