Skip to content

Commit

Permalink
Rename verify_commit option to git_verify_commit
Browse files Browse the repository at this point in the history
Conforming with naming conventions for git specific variables
  • Loading branch information
mohamedhafez committed Feb 26, 2021
1 parent 303366f commit b25e90c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,9 @@ The following variables are settable:
* **default:** `0`
* Number of seconds to wait after you reach the limit of concurrent connections to Git repository server and disconnect afterwards to initialize new connections. This prevents from being cut out of SSH server when you use `fail2ban` or similar software for limiting connections to server.

* `:verify_commit`
* `:git_verify_commit`
* **default:** `false`
* Whether to check if a valid signature exists on the commit to be deployed.
* Currently only implemented for Git.
* Whether to check if a valid signature exists on the Git commit to be deployed.

Capistrano plugins can provide their own configuration variables. Please refer
to the plugin documentation for the specifics. Plugins are allowed to add or
Expand Down
2 changes: 1 addition & 1 deletion lib/capistrano/scm/tasks/git.rake
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace :git do
within repo_path do
with fetch(:git_environmental_variables) do
git_plugin.update_mirror
git_plugin.verify_commit if fetch(:verify_commit)
git_plugin.verify_commit if fetch(:git_verify_commit)
end
end
end
Expand Down

0 comments on commit b25e90c

Please sign in to comment.