summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-03-20 10:23:12 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-03-20 10:23:12 +0000
commit98c28b467b30e89dbec68c2f0964b87c86b46a0b (patch)
tree3bd4290777057f7c24532bd740dadcf928af9fa2
parente9caae140d531b79ae8b8055b0a132506afeff17 (diff)
downloadredmine-98c28b467b30e89dbec68c2f0964b87c86b46a0b.tar.gz
redmine-98c28b467b30e89dbec68c2f0964b87c86b46a0b.zip
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
-rw-r--r--app/models/repository/git.rb4
1 files 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