chiark
/
gitweb
/
~mdw
/
stgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
860d288
)
Set the .txt extension to the StGIT commit message file
author
Catalin Marinas
<catalin.marinas@gmail.com>
Fri, 11 Aug 2006 16:32:31 +0000
(17:32 +0100)
committer
Catalin 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
patch
|
blob
|
blame
|
history
diff --git
a/stgit/stack.py
b/stgit/stack.py
index 914c1e3a0f0bc6dbb72146e565be418d68d14f46..618182c6a5106e44b0a6e8cef4b2580446635b5c 100644
(file)
--- a/
stgit/stack.py
+++ b/
stgit/stack.py
@@
-65,7
+65,7
@@
def __clean_comments(f):
f.writelines(lines)
def edit_file(series, line, comment, show_patch = True):
f.writelines(lines)
def edit_file(series, line, comment, show_patch = True):
- fname = '.stgit
.msg
'
+ fname = '.stgit
msg.txt
'
tmpl = templates.get_template('patchdescr.tmpl')
f = file(fname, 'w+')
tmpl = templates.get_template('patchdescr.tmpl')
f = file(fname, 'w+')