~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Detect description in quilt patches
[stgit]
/
stgit
/
commands
/
imprt.py
diff --git
a/stgit/commands/imprt.py
b/stgit/commands/imprt.py
index
c956c91
..
8de0eaa
100644
(file)
--- a/
stgit/commands/imprt.py
+++ b/
stgit/commands/imprt.py
@@
-108,7
+108,8
@@
def __parse_mail(filename = None):
# the rest of the patch description
for line in f:
- if re.match('---\s*$', line) or re.match('diff -', line):
+ if re.match('---\s*$', line) or re.match('diff -', line) or \
+ re.match('^Index: ', line):
break
else:
descr += line