Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint'
[gitweb.git]
/
git-tag.sh
diff --git
a/git-tag.sh
b/git-tag.sh
index 1c25d88c72b0645e6e619a05b1fbbbc091752444..5ee3f50a3c083aa0685ad696fd1bc39b3ffbe607 100755
(executable)
--- a/
git-tag.sh
+++ b/
git-tag.sh
@@
-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