On MRs being imported, commits aren't available yet
This commit is contained in:
parent
d7e8479ee8
commit
0a5e387284
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue