fix: Remove escaping from quotes
This commit is contained in:
parent
064d8e56b0
commit
6c1b0351d8
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue