Permalink
Browse files

Merge pull request #840 from wlmcewen/git_env_on_update

Use the :git_environmental_variables settings when updating from remote ...
  • Loading branch information...
2 parents ee96c2e + 0c50e6a commit 3d641ea994627a22edd01529440b12a9e565001d @leehambley leehambley committed Feb 4, 2014
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/capistrano/tasks/git.rake
@@ -50,7 +50,9 @@ namespace :git do
on release_roles :all do
within repo_path do
capturing_revisions do
- strategy.update
+ with fetch(:git_environmental_variables) do
+ strategy.update
+ end
end
end
end

0 comments on commit 3d641ea

Please sign in to comment.