From: Paolo 'Blaisorblade' Giarrusso Date: Thu, 27 Oct 2005 08:56:34 GMT Subject: [PATCH 2/2] Ask vim to avoid backup copies of .stgit.msg Message-ID: <20051027085634.2482.34870.stgit@zion.home.lan> In-Reply-To: <20051027085622.2482.22005.stgit@zion.home.lan> From: Paolo 'Blaisorblade' Giarrusso Do this by adding nobackup to the modeline. Signed-off-by: Paolo 'Blaisorblade' Giarrusso --- stgit/stack.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/stgit/stack.py b/stgit/stack.py --- a/stgit/stack.py +++ b/stgit/stack.py @@ -88,7 +88,7 @@ def edit_file(series, string, comment, s git.diff([], series.get_patch(series.get_current()).get_bottom(), None, f) #Vim modeline must be near the end. - print >> f, __comment_prefix, 'vi: set textwidth=75 filetype=diff:' + print >> f, __comment_prefix, 'vi: set textwidth=75 filetype=diff nobackup:' f.close() # the editor