summaryrefslogtreecommitdiff
path: root/lib/puppet/provider/vcsrepo.rb
diff options
context:
space:
mode:
authorgodlikeachilles <achilleska@gmail.com>2015-12-02 15:07:15 +1100
committergodlikeachilles <achilleska@gmail.com>2015-12-02 15:07:15 +1100
commit7fe9cb225b6458e468469597a54753f1ea621e00 (patch)
treea119c9708a811db6617a080212f4daf74e764b4f /lib/puppet/provider/vcsrepo.rb
parent99e8b2e28ce9541202b8b2438a92ee8ac2b03d6a (diff)
downloadpuppet-vcsrepo-7fe9cb225b6458e468469597a54753f1ea621e00.tar.gz
puppet-vcsrepo-7fe9cb225b6458e468469597a54753f1ea621e00.tar.bz2
fix branch existence determintaion functionality
this will stop failing in case there is a tag which is a substring of an existing branch name. for example if there is a tag 'release' and a branch 'release/integration' current code will match 'release/integration' with pattern 'release' and decide that a branch checkout is needed. but release branch does not exist so it will fail. this simple fix resolves the issue.
Diffstat (limited to 'lib/puppet/provider/vcsrepo.rb')
0 files changed, 0 insertions, 0 deletions