X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=edit-description;fp=edit-description;h=3311bb9cd50269698547a2757e8e2940c2eccd14;hb=472be778aa9f5725f3a7757baa5c791b32182f2c;hp=547b2480ba2af032bd4999963ced79270bbedb5a;hpb=396a2fe8b0c7352fac32db0f7c0e65b92930904b;p=git-scripts.git diff --git a/edit-description b/edit-description index 547b248..3311bb9 100755 --- a/edit-description +++ b/edit-description @@ -2,4 +2,4 @@ exec "`dirname \"$0\"`"/do-all \ 'test "`cat $g/description`" = "Unnamed repository; edit this file '"'"description"'"' to name the repository." && - "${VISUAL:-${EDITOR:-vi}}" "$g"/description < /dev/tty' + `git var GIT_EDITOR` "$g"/description < /dev/tty'