-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Add --rebase
and --ensure-sync
options to pull-request:merge
command
#634
base: master
Are you sure you want to change the base?
Conversation
He, welcome to the Gush team 👍 please change the Label if you think it's a bug instead of a refactor. |
Thank you @sstok! I'm sorry, I haven't labelling permissions. |
@gushphp/contributor, any thoughts on this? Please share your concerns. |
src/Helper/GitHelper.php
Outdated
$tmpName, | ||
$commitHash, | ||
]; | ||
$commands = ['git', 'notes', '--ref='.$ref, 'add', '--file', $tmpName, $commitHash]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The '--ref='.$ref
can be split to separate arguments, for uniformity
src/Helper/GitHelper.php
Outdated
$tmpName, | ||
$commitHash, | ||
]; | ||
$commands = ['git', 'notes', '--ref=', $ref, 'add', '--file', $tmpName, $commitHash]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
=
can be removed by ref
git pull --rebase {base-branch}
call at GitHelper::squashCommits()
--rebase
and --ensure-sync
options to pull-request:merge
command
2f9c502
to
6a1d22e
Compare
TODO:
Closes #633.