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

This commit is contained in:
2024-08-09 12:43:01 -07:00
parent 32279b7fd5
commit e4d4abb082

View File

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