Set the .txt extension to the StGIT commit message file
authorCatalin Marinas <catalin.marinas@gmail.com>
Fri, 11 Aug 2006 16:32:31 +0000 (17:32 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Fri, 11 Aug 2006 17:53:46 +0000 (18:53 +0100)
The original extension was .msg which editors like emacs couldn't guess.
The patch changes it to .txt.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/stack.py

index 914c1e3..618182c 100644 (file)
@@ -65,7 +65,7 @@ def __clean_comments(f):
     f.writelines(lines)
 
 def edit_file(series, line, comment, show_patch = True):
-    fname = '.stgit.msg'
+    fname = '.stgitmsg.txt'
     tmpl = templates.get_template('patchdescr.tmpl')
 
     f = file(fname, 'w+')