gvdutra opened a new pull request, #8974:
URL: https://github.com/apache/hop/pull/8974

   Fixes #8934.
   
   Use the current branch's configured upstream when pulling instead of 
assuming that the remote branch has the same name. The existing 
`origin/<local-branch>` fallback remains available for branches without 
upstream configuration.
   
   Pulling a branch with no configured upstream and no matching branch on 
origin now reports a clear error instead of failing with a 
`NullPointerException`.
   
   Tests:
   - Added coverage for pulling from an upstream with a different branch name.
   - Added coverage for the missing-upstream error.
   - `./mvnw -pl plugins/misc/git test` (234 standard tests and 90 UI tests)
   - `./mvnw -pl plugins/misc/git spotless:apply spotless:check`
   
   ------------------------
   
   - [ ] Run `mvn clean install apache-rat:check` to make sure basic checks 
pass. A more thorough check will be performed on this pull request 
automatically.
   - [x] The change is a single commit.
   - [x] The related issue is mentioned above.
   - [x] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to