~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Automatically generate patch names for uncommit
[stgit]
/
stgit
/
commands
/
common.py
diff --git
a/stgit/commands/common.py
b/stgit/commands/common.py
index
836884c
..
6843dcf
100644
(file)
--- a/
stgit/commands/common.py
+++ b/
stgit/commands/common.py
@@
-241,5
+241,5
@@
def make_patch_name(msg):
if not msg:
return None
- subject_line = msg.lstrip().split('\n', 1)[0]
+ subject_line = msg.lstrip().split('\n', 1)[0]
.lower()
return re.sub('[\W]+', '-', subject_line).strip('-')