Automatically generate patch names for uncommit
[stgit] / stgit / commands / common.py
index 836884c..6843dcf 100644 (file)
@@ -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('-')