From b83e37e0e6ebeee860f72603333a326994210472 Mon Sep 17 00:00:00 2001 From: "Paolo \\'Blaisorblade\\' Giarrusso" Date: Thu, 27 Oct 2005 10:56:34 +0200 Subject: [PATCH] Ask vim to avoid backup copies of .stgit.msg From: Paolo 'Blaisorblade' Giarrusso Do this by adding nobackup to the modeline. Signed-off-by: Paolo 'Blaisorblade' Giarrusso --- stgit/stack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stgit/stack.py b/stgit/stack.py index c7cbdc59..b6cab0a1 100644 --- a/stgit/stack.py +++ b/stgit/stack.py @@ -88,7 +88,7 @@ def edit_file(series, string, comment, show_patch = True): 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 -- 2.11.4.GIT