symbolic-ref, update-ref: do not refuse reflog message with LF
[gitweb.git] / git-tag.sh
index 1c25d88c72b0645e6e619a05b1fbbbc091752444..5ee3f50a3c083aa0685ad696fd1bc39b3ffbe607 100755 (executable)
@@ -177,7 +177,7 @@ if [ "$annotate" ]; then
         ( echo "#"
           echo "# Write a tag message"
           echo "#" ) > "$GIT_DIR"/TAG_EDITMSG
-        ${VISUAL:-${EDITOR:-vi}} "$GIT_DIR"/TAG_EDITMSG || exit
+        git_editor "$GIT_DIR"/TAG_EDITMSG || exit
     else
         printf '%s\n' "$message" >"$GIT_DIR"/TAG_EDITMSG
     fi