lib/salesforcedeploytool/app.rb in salesforce-deploy-tool-0.8.2 vs lib/salesforcedeploytool/app.rb in salesforce-deploy-tool-0.9.0
- old
+ new
@@ -23,11 +23,9 @@
@version_file = File.join(@git_dir,config[:version_file])
@username = @sandbox == 'prod' ? config[:username] : config[:username] + '.' + @sandbox
@server_url = @sandbox == 'prod' ? 'https://login.salesforce.com' : 'https://test.salesforce.com'
- self.clone if ! Dir.exists? File.join(@git_dir,'.git')
-
end
def commit_hash
g = Git.open(@git_dir)