Skip to content

Commit

Permalink
Merge pull request puppetlabs#11 from cPanelScott/master
Browse files Browse the repository at this point in the history
Bug Fix: Some ownerships in .git directory are 'root' after vcsrepo's retrieve is called
  • Loading branch information
jamtur01 committed Nov 12, 2011
2 parents 8e16891 + 328d88e commit df6a9b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/puppet/provider/vcsrepo/git.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def exists?
def update_references
at_path do
git_with_identity('fetch', '--tags', 'origin')
update_owner_and_excludes
end
end

Expand Down Expand Up @@ -262,6 +263,7 @@ def get_revision(rev)
end
current = @resource.value(:revision) if current == canonical
end
update_owner_and_excludes
return current
end

Expand Down

0 comments on commit df6a9b3

Please sign in to comment.