gitolite (2.3-1) use-sensible-editor

Summary

 src/gl-setup |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

Author: Gerfried Fuchs <rhonda@debian.org>	vim:ft=diff:
Description: use sensible-editor instead of EDITOR/vi

Index: b/src/gl-setup
===================================================================
--- a/src/gl-setup
+++ b/src/gl-setup
@@ -84,7 +84,7 @@ else
         printf "The default settings in the "rc" file ($GL_RC) are fine for most\n"
         printf "people but if you wish to make any changes, you can do so now.\n\nhit enter..."
         read i
-        ${EDITOR:-vi} $GL_RC
+        sensible-editor $GL_RC
     fi
 fi