diff --git a/lib/ohloh_scm/git/scm.rb b/lib/ohloh_scm/git/scm.rb index 7c743c85..a22bae11 100644 --- a/lib/ohloh_scm/git/scm.rb +++ b/lib/ohloh_scm/git/scm.rb @@ -43,7 +43,7 @@ def clone_or_fetch(remote_scm, callback) end def fetch_new_commits(remote_scm) - run "cd '#{url}' && git fetch --tags --update-head-ok "\ + run "cd '#{url}' && git fetch --tags --force --update-head-ok "\ "'#{remote_scm.url}' #{branch_name}:#{branch_name}" end diff --git a/lib/ohloh_scm/version.rb b/lib/ohloh_scm/version.rb index 3c2116ff..197558ff 100644 --- a/lib/ohloh_scm/version.rb +++ b/lib/ohloh_scm/version.rb @@ -2,7 +2,7 @@ module OhlohScm module Version - STRING = '4.0.1' + STRING = '4.0.2' GIT = '2.34.1' SVN = '1.14.1' CVSNT = '1.12.13'