Description: Pass GIT_EDITOR to sh
 As per git documentation, GIT_EDITOR "is meant to be interpreted by the
 shell when it is used".
 .
 This allows setting GIT_EDITOR to something like "gvim -f".
 .
 Fixes #139.
Author: Jakub Wilk <jwilk@jwilk.net>
X-Dgit-Generated: 0.9.0-2~ ca8a5135e0e4371ce635f8719e1dde33c367ec3e

---

--- git-hub-0.9.0.orig/git-hub
+++ git-hub-0.9.0/git-hub
@@ -293,7 +293,7 @@ def editor(help_msg, msg=None):
 	with file(fname, 'w') as f:
 		f.write(msg or '')
 		f.write(help_msg)
-	status = subprocess.call([prog, fname])
+	status = subprocess.call([prog + ' "$@"', prog, fname], shell=True)
 	if status != 0:
 		die("Editor returned {}, aborting...", status)
 	with file(fname) as f:
