diff options
author | Sean McGivern <sean@gitlab.com> | 2017-11-17 17:57:48 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-11-17 17:57:48 +0000 |
commit | 64a9e53bd16092e869f88e42a3e69f3f4ba0a23e (patch) | |
tree | 0276365754d768dc70860901a8a396b861c36ac2 /app/controllers/projects/commit_controller.rb | |
parent | 371180a47d292957b73c6c9e1e662b6c99a62ee9 (diff) | |
download | gitlab-ce-64a9e53bd16092e869f88e42a3e69f3f4ba0a23e.tar.gz |
Fix conflict highlightingfix-conflict-highlighting
Conflicts used to take a `Repository` and pass that to
`Gitlab::Highlight.highlight`, which would call `#gitattribute` on the
repository. Now they use a `Gitlab::Git::Repository`, which didn't have that
method defined - but defining it on `Gitlab::Git::Repository` does make it
available on `Repository` through `method_missing`, so we can do that and both
cases will work.
Diffstat (limited to 'app/controllers/projects/commit_controller.rb')
0 files changed, 0 insertions, 0 deletions