As I stated in the message to which you replied, that only works if the
calling program is guaranteed to use system or its equivalent to load
the $EDITOR. Git et al. may do that, but I don't know that there's any
guarantee of it working universally: other programs do use $EDITOR, you
know. ;-) That's why I recommend a script: simple and universal.
Kyle
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html