MODULES-1800 - fix case where ensure => latest and no revision specified
authorMorgan Haskel <morgan@puppetlabs.com>
Mon, 3 Aug 2015 23:49:01 +0000 (16:49 -0700)
committerMorgan Haskel <morgan@puppetlabs.com>
Mon, 3 Aug 2015 23:49:01 +0000 (16:49 -0700)
commitd68402d1f930d5a30f1ec9224ac3791b6d9d29b9
tree753956993a40f5a2163746e7181c34cb3201bfaf
parent266b20510b9eec7e8e91096f5aa370ae52a136e7
MODULES-1800 - fix case where ensure => latest and no revision specified

This would explode when revision was unspecified when you were on a
branch. Use the branch you're currently on when updating.
lib/puppet/provider/vcsrepo/git.rb
spec/acceptance/modules_1800_spec.rb [new file with mode: 0644]