diff options
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r-- | app/models/commit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb index 886e6e9fbd7..9c8d7604031 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -359,7 +359,7 @@ class Commit def diff_refs Gitlab::Diff::DiffRefs.new( - base_sha: self.parent_id || Gitlab::Git::BLANK_SHA, + base_sha: self.parent_id || Gitlab::Git::SHA1_BLANK_SHA, head_sha: self.sha ) end |