Branch: refs/heads/master Home: https://github.com/jenkinsci/git-plugin Commit: 950f00cff9fd0470db9628a83986b6bc0d4855d0 https://github.com/jenkinsci/git-plugin/commit/950f00cff9fd0470db9628a83986b6bc0d4855d0 Author: Reno Reckling <reno.reckl...@mayflower.de> Date: 2015-07-16 (Thu, 16 Jul 2015)
Changed paths: M src/main/java/hudson/plugins/git/util/GitUtils.java M src/test/java/hudson/plugins/git/util/DefaultBuildChooserTest.java Log Message: ----------- This fixes a bug where the filtering removes all tipCandidates This bug occurs when there are multiple matching tags on the same commit. The existing logic removed the tipCandidate if the commit was already visited. If there are two revisions on the same commit, the following happens: The first run places itself in the tipCandidates and marks the commit as visited. The second run (via the second revision) then places the same commit with another revision in the tipCandidates but removes it right after because the commit is already marked as visited. This patch skips this misbehavior and just keeps the the first revision of a commit. Commit: f0fb751a3f5df65e31089080a65bf9f81308d166 https://github.com/jenkinsci/git-plugin/commit/f0fb751a3f5df65e31089080a65bf9f81308d166 Author: Mark Waite <mark.earl.wa...@gmail.com> Date: 2015-08-08 (Sat, 08 Aug 2015) Changed paths: M src/main/java/hudson/plugins/git/util/GitUtils.java M src/test/java/hudson/plugins/git/util/DefaultBuildChooserTest.java Log Message: ----------- Merge pull request #336 from exi/fix-filter-bug Fix a bug where the tip filtering removes all tipCandidates Compare: https://github.com/jenkinsci/git-plugin/compare/c6f0d49815a6...f0fb751a3f5d -- 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.