Package: stgit / 0.18-1

use_editor_as_default Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Maximiliano Curia <maxy@debian.org>
Date: Sat, 2 Sep 2017 14:06:57 +0200
Subject: Debian patch, the best default editor is editor

Author: Yann Dirson <dirson@debian.org>
Forwarded: not-needed
Last-Update: 2014-03-26
---
 stgit/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stgit/utils.py b/stgit/utils.py
index fa75663..cb6c481 100644
--- a/stgit/utils.py
+++ b/stgit/utils.py
@@ -175,7 +175,7 @@ def get_editor():
                    config.get('core.editor'),
                    os.environ.get('VISUAL'),
                    os.environ.get('EDITOR'),
-                   'vi']:
+                   'editor']:
         if editor:
             return editor