Subject: If $EDITOR is unset, invoke editor instead of vim
From: Michael Schutte <michi@debian.org>

As per Policy 11.4.

Index: devel/lib/ticgit-ng/cli.rb
===================================================================
--- devel.orig/lib/ticgit-ng/cli.rb	2011-04-05 09:35:59.000000000 +0200
+++ devel/lib/ticgit-ng/cli.rb	2011-04-05 09:36:37.000000000 +0200
@@ -82,7 +82,7 @@
       message_file = Tempfile.new('ticgitng_message').path
       File.open(message_file, 'w') { |f| f.puts comments } if comments
 
-      editor = ENV["EDITOR"] || 'vim'
+      editor = ENV["EDITOR"] || 'editor'
       system("#{editor} #{message_file}");
       message = File.readlines(message_file)
       message = message.select { |line| line[0, 1] != '#' } # removing comments
