Commit 0a5e3872 authored by Douwe Maan's avatar Douwe Maan

On MRs being imported, commits aren't available yet

parent d7e8479e
......@@ -24,7 +24,7 @@ class MergeRequestDiff < ActiveRecord::Base
serialize :st_diffs
after_create :reload_content, unless: :importing?
after_save :keep_around_commits
after_save :keep_around_commits, unless: :importing?
def reload_content
reload_commits
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment