lib/origen/revision_control/git.rb in origen-0.56.0 vs lib/origen/revision_control/git.rb in origen-0.57.0
- old
+ new
@@ -343,9 +343,10 @@
def changes_pending_commit?
!(git('status --verbose', verbose: false).last =~ /^(no changes|nothing to commit|nothing added to commit but untracked files present)/)
end
def initialize_local_dir(options = {})
+ return if options[:build_method] == :clone
super
unless initialized?(options)
Origen.log.debug "Initializing Git workspace at #{local}"
git 'init'
git 'remote remove origin', verbose: false, check_errors: false