~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allows extraction of information about remotes.
[stgit]
/
stgit
/
commands
/
imprt.py
diff --git
a/stgit/commands/imprt.py
b/stgit/commands/imprt.py
index
9c97498
..
cc160cc
100644
(file)
--- a/
stgit/commands/imprt.py
+++ b/
stgit/commands/imprt.py
@@
-166,7
+166,7
@@
def __parse_mail(msg):
# remove the '[*PATCH*]' expression in the subject
if descr:
# remove the '[*PATCH*]' expression in the subject
if descr:
- descr = re.findall('^(\[
[^\s]*
[Pp][Aa][Tt][Cc][Hh].*?\])?\s*(.*)$',
+ descr = re.findall('^(\[
.*?
[Pp][Aa][Tt][Cc][Hh].*?\])?\s*(.*)$',
descr)[0][1]
descr += '\n\n'
else:
descr)[0][1]
descr += '\n\n'
else: