From 98c28b467b30e89dbec68c2f0964b87c86b46a0b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 20 Mar 2015 10:23:12 +0000 Subject: [PATCH] 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 --- app/models/repository/git.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5