Branch: refs/heads/master Home: https://github.com/jenkinsci/git-client-plugin Commit: c1c3110926fd2137a589b8009aa42a119efc952a https://github.com/jenkinsci/git-client-plugin/commit/c1c3110926fd2137a589b8009aa42a119efc952a Author: Mark Waite <mark.earl.wa...@gmail.com> Date: 2018-12-10 (Mon, 10 Dec 2018)
Changed paths: M pom.xml M src/main/java/org/jenkinsci/plugins/gitclient/jgit/PreemptiveAuthHttpClientConnection.java M src/test/java/org/jenkinsci/plugins/gitclient/GitAPITestCase.java Log Message: ----------- Use JGit 5.2.0 & adapt one test One submodule test needed to be adapted for a JGit 5.2.0 bug fix. Previously, JGit CheckoutCommand did not overwrite a submodule from a previous checkout which is no longer a submodule in the new checkout. The bug fix description from the JGit release notes says "CheckoutCommand: force flag now allows overwrite ensuring a force checkout will overwrite conflicting files" JGit does not handle renamed submodules. The tests show the submodule handling differences with instanceof 'if' statements. Refer to the comments in the test for more details. Use a TreeMap for case insensitive getHeaderFields Since RFC 2616 says that header fields names are case insensitive and JDK javadoc says that the string list is immutable, let's return an unmodifiable list in a case insensitive TreeMap. Thanks to Olivier Dagenais! Co-Authored-By: Olivier "Oli" Dagenais <olivier.dagen...@gmail.com> Commit: 69e00ad0dc9dbf39e88cc5aab7660d469d5e0359 https://github.com/jenkinsci/git-client-plugin/commit/69e00ad0dc9dbf39e88cc5aab7660d469d5e0359 Author: Mark Waite <mark.earl.wa...@gmail.com> Date: 2018-12-10 (Mon, 10 Dec 2018) Changed paths: M pom.xml M src/main/java/org/jenkinsci/plugins/gitclient/jgit/PreemptiveAuthHttpClientConnection.java M src/test/java/org/jenkinsci/plugins/gitclient/GitAPITestCase.java Log Message: ----------- Merge pull request #384 from MarkEWaite/use-JGit-5.2 Use JGit 5.2.0 & adapt one test Compare: https://github.com/jenkinsci/git-client-plugin/compare/c72d9b8e23d9...69e00ad0dc9d **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019. -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.