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
This commit is contained in:
Jean-Philippe Lang
2015-03-20 10:23:12 +00:00
parent e9caae140d
commit 98c28b467b

View File

@@ -209,7 +209,7 @@ class Repository::Git < Repository
end end
h["heads"] = repo_heads.dup h["heads"] = repo_heads.dup
merge_extra_info(h) merge_extra_info(h)
self.save save(:validate => false)
end end
private :save_revisions private :save_revisions
@@ -251,7 +251,7 @@ class Repository::Git < Repository
h = {} h = {}
h["extra_report_last_commit"] = v h["extra_report_last_commit"] = v
merge_extra_info(h) merge_extra_info(h)
self.save save(:validate => false)
end end
private :clear_extra_info_of_changesets private :clear_extra_info_of_changesets