diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-02-19 14:42:00 +0000 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-03-01 14:38:35 +0000 |
commit | cd9daf644e2b3844b9382768a3add335f942b76c (patch) | |
tree | d0ddb0cdbf494c8fbb32133b4f46adf50178ea9b /lib/api/commits.rb | |
parent | 442a6e880058138b6ae6843d9b70d62cbc5aadb0 (diff) | |
download | gitlab-ce-cd9daf644e2b3844b9382768a3add335f942b76c.tar.gz |
Diffstat (limited to 'lib/api/commits.rb')
-rw-r--r-- | lib/api/commits.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/commits.rb b/lib/api/commits.rb index c4a180d3b0e..982f45425a3 100644 --- a/lib/api/commits.rb +++ b/lib/api/commits.rb @@ -38,7 +38,7 @@ module API all: all) commit_count = - if path || before || after + if all || path || before || after user_project.repository.count_commits(ref: ref, path: path, before: before, after: after, all: all) else # Cacheable commit count. |