fix: Remove escaping from quotes

This commit is contained in:
lwad 2023-10-26 16:24:55 +01:00
parent 064d8e56b0
commit 6c1b0351d8
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ function reauthor_all {
git config user.name "$new_name"
local command
command='[[ \"$(git log -1 --pretty=format:'%ae')\" == '
command='[[ "$(git log -1 --pretty=format:'%ae')" == '
command+="'$old_email' ]] && git commit --amend --author '$new_name <$new_email>' --no-edit || true"
git rebase -i --root --committer-date-is-author-date -x "$command"