summaryrefslogtreecommitdiffstats
path: root/app/models/repository
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/repository')
-rw-r--r--app/models/repository/git.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/models/repository/git.rb b/app/models/repository/git.rb
index 064a67494..037be94e5 100644
--- a/app/models/repository/git.rb
+++ b/app/models/repository/git.rb
@@ -255,4 +255,14 @@ class Repository::Git < Repository
:order => 'committed_on DESC'
)
end
+
+ def clear_extra_info_of_changesets
+ v = extra_info["extra_report_last_commit"]
+ write_attribute(:extra_info, nil)
+ h = {}
+ h["extra_report_last_commit"] = v
+ merge_extra_info(h)
+ self.save
+ end
+ private :clear_extra_info_of_changesets
end