lib/origen/revision_control/git.rb in origen-0.4.2 vs lib/origen/revision_control/git.rb in origen-0.4.3
- old
+ new
@@ -291,10 +291,10 @@
check_for_changes: false
FileUtils.mv "#{local}/gitignore", "#{local}/.gitignore"
end
def changes_pending_commit?
- !(git('status --verbose', verbose: false).last =~ /^(no changes|nothing to 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
super
unless initialized?