diff options
author | Sean McGivern <sean@gitlab.com> | 2017-04-17 13:58:07 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-04-17 14:56:45 +0100 |
commit | 2545f6adbfb6977a2d677805b3b04256103573ca (patch) | |
tree | b940b76d47f7e8909365fd2a0ddcf9c91ac8f4bb /app/models/repository.rb | |
parent | eeaeb2752a589c9046659d58d4a3f6be8030b699 (diff) | |
download | gitlab-ce-2545f6adbfb6977a2d677805b3b04256103573ca.tar.gz |
Fix following with multiple pathsfix-follow-with-multiple-paths
`git log --follow` is only supported for a single path. CE doesn't currently
pass multiple paths, but EE does.
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r-- | app/models/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index 2b11ed6128e..ec7acc6b6f7 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -109,7 +109,7 @@ class Repository offset: offset, after: after, before: before, - follow: path.present?, + follow: Array(path).length == 1, skip_merges: skip_merges } |