Removed unnecessary variable ARGS and directly passed command line arguments to the editor.

This commit is contained in:
ilguappo 2024-08-09 12:43:01 -07:00
parent 32279b7fd5
commit e4d4abb082
Signed by: ilguappo
GPG Key ID: 98486F29C8969FD0

View File

@ -79,6 +79,4 @@ cat "${TMP_FILE}" >".git/COMMIT_EDITMSG"
rm "${TMP_FILE}"
ARGS=("${@-}")
"${EDITOR}" "${ARGS[@]}"
"${EDITOR}" "${@-}"