From: Jean-Philippe Lang Date: Fri, 20 Mar 2015 10:23:12 +0000 (+0000) Subject: Don't validate the repository when updating/clearing extra info (#19400). X-Git-Tag: 3.1.0~178 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=98c28b467b30e89dbec68c2f0964b87c86b46a0b;p=redmine.git Don't validate the repository when updating/clearing extra info (#19400). git-svn-id: http://svn.redmine.org/redmine/trunk@14143 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/models/repository/git.rb b/app/models/repository/git.rb index 9b77dca8b..724a18a4d 100644 --- a/app/models/repository/git.rb +++ b/app/models/repository/git.rb @@ -209,7 +209,7 @@ class Repository::Git < Repository end h["heads"] = repo_heads.dup merge_extra_info(h) - self.save + save(:validate => false) end private :save_revisions @@ -251,7 +251,7 @@ class Repository::Git < Repository h = {} h["extra_report_last_commit"] = v merge_extra_info(h) - self.save + save(:validate => false) end private :clear_extra_info_of_changesets