We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set :git_submodules_recursive, false
The way :git_submodules_recursive is retrieved, we can't get it to disable with false.
The issue is with how SCM::Base implements variable:
variable
def variable(name, default = nil) if local? && configuration.exists?("local_#{name}".to_sym) return configuration["local_#{name}".to_sym] || default else configuration[name] || default end end
Anything explicitly set to false will cause the OR conditional to return the default, which in the case of :git_submodules_recursive is nil.
We're happy to work up a patch, but want to get some feedback if there's a preferred way to approach this.
The text was updated successfully, but these errors were encountered:
Just added a quick failing test in the collective idea fork.
Sorry, something went wrong.
Fixed in #103
No branches or pull requests
The way :git_submodules_recursive is retrieved, we can't get it to disable with false.
The issue is with how SCM::Base implements
variable
:Anything explicitly set to false will cause the OR conditional to return the default, which in the case of :git_submodules_recursive is nil.
We're happy to work up a patch, but want to get some feedback if there's a preferred way to approach this.
The text was updated successfully, but these errors were encountered: