fix: remove hack to workaround GitHub Rebase & Merge

This commit is contained in:
Pierre Vanduynslager
2019-11-01 16:58:55 -04:00
parent 1edae67326
commit 844e0b07e0
5 changed files with 8 additions and 59 deletions
-13
View File
@@ -256,16 +256,3 @@ export async function mergeFf(ref, execaOpts) {
export async function rebase(ref, execaOpts) {
await execa('git', ['rebase', ref], execaOpts);
}
export async function changeAuthor(sha, execaOpts) {
await execa(
'git',
[
'filter-branch',
'-f',
'--env-filter',
`if [[ "$GIT_COMMIT" = "${sha}" ]]; then export GIT_COMMITTER_NAME="New Author" GIT_COMMITTER_EMAIL="author@test.com"; fi`,
],
execaOpts
);
}