Skip to content

Commit

Permalink
Fixed issue with commits not preserving dates
Browse files Browse the repository at this point in the history
  • Loading branch information
divineniiquaye committed Aug 22, 2023
1 parent 261537b commit 82e8c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/monorepo/src/Worker/SplitCommitsWorker.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ static function (array $required) use ($input, $output, $currentBranch, $branche
}

if (!$input->getOption('no-push')) {
$pushChanges[] = ['push', ...($input->getOption('force') ? ['-f', '-u'] : ['-u']), 'origin', "$branch:$branch"];
$pushChanges[] = ['push', ...($input->getOption('force') ? ['-f'] : []), 'origin', $branch];
}
} else {
$output->writeln(\sprintf('<info>Nothing to commit; On branch %s, "%s/%1$s" is up to date</info>', $branch, $remote));
Expand Down

0 comments on commit 82e8c3f

Please sign in to comment.