summaryrefslogtreecommitdiffstats
path: root/app/models/repository/git.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/repository/git.rb')
-rw-r--r--app/models/repository/git.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/repository/git.rb b/app/models/repository/git.rb
index 037be94e5..e07e7c804 100644
--- a/app/models/repository/git.rb
+++ b/app/models/repository/git.rb
@@ -257,6 +257,7 @@ class Repository::Git < Repository
end
def clear_extra_info_of_changesets
+ return if extra_info.nil?
v = extra_info["extra_report_last_commit"]
write_attribute(:extra_info, nil)
h = {}