summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2017-06-02 18:49:18 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2017-06-02 18:49:18 +0000
commit2662fd721558f916fe621f4eb5cef43e7754beec (patch)
treefbd06f85ba781801323b1a89870ce48eb8333262 /app/models/commit.rb
parent11852e16387790c26be7b8d1dd99ed689bf9d45b (diff)
parent857d039145bccaa81da1e7654e51eee9e4b4823a (diff)
downloadgitlab-ce-2662fd721558f916fe621f4eb5cef43e7754beec.tar.gz
Merge branch '33139-lint-our-factories' into 'master'
Lint our factories creation in addition to their build Closes #33139 See merge request !11823
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index dbc0a22829e..0a16af688bd 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -14,7 +14,7 @@ class Commit
participant :committer
participant :notes_with_associations
- attr_accessor :project
+ attr_accessor :project, :author
DIFF_SAFE_LINES = Gitlab::Git::DiffCollection::DEFAULT_LIMITS[:max_lines]