-
Notifications
You must be signed in to change notification settings - Fork 182
[SCM-1029] Fix empty commits on JGit checkin #238
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
Conversation
- JGitCheckInCommand.java:
- in case of a includes / excludes FileSet
is specified then:
- use OR condition of
- status.getAdded().size() > 0
- status.getChanged().size() > 0
- status.getRemoved() > 0
instead of status.hasUncommittedChanges()
- log info "nothing to commit" if nothing
is to be commited
This closes apache#238
|
@michael-o By default GitHub action - PR Automation do it .... but here was not executed ... probably of merge by commit no GitHub UI |
I don't use the Github UI since it uses the wrong email address for me instead of the apache.org. |
Did you check your github configuration: Maybe we should add or update something at: |
I have multiple addresses for multiple purposes. The Apache isn't and won't be my primary one. Therefore, the GItHub UI is unsuitable for the task.
Maybe, but won't solve the problem from above. |
@michael-o GitHub UI is not needed to merge. You can merge locally to the PRs target branch and then push the PR target branch - if you are authorized appropriately. Typically GitHub will recognize that merge properly and will close the PR as merged. May be the configuration behind |
|
Resolve #1251 |
JIRA
SCM-1029
Changes
in case of a includes / excludes FileSet is specified then:
instead of status.hasUncommittedChanges()
log info "nothing to commit" if nothing is to be commited
Test