git-svnimport: Improved detection of merges.
authorFlorian Forster <octo@verplant.org>
Wed, 31 May 2006 10:32:08 +0000 (12:32 +0200)
committerJunio C Hamano <junkio@cox.net>
Wed, 31 May 2006 21:22:28 +0000 (14:22 -0700)
commit65160b8b04f814ab5b2573b32605320ff875f99e
treec0f12ea9981aa7dc902792d62a69793e273cb72d
parent1361fa3e49717de9588e6d925073eb6885cedaa3
git-svnimport: Improved detection of merges.

The regexes detecting merges (while still relying on the commit messages,
though) have been improved to catch saner (and hopefully more) messages. The
old regex was so generic that it often matched something else and missed the
actual merge-message.
Also, the regex given with the `-M' commandline-option is checked first:
Explicitely given regexes should be considered better than the builtin ones,
and should therefore be given a chance to match a message first.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svnimport.perl