From 2eb2825ab8ffb7e19d19ff4c21750862a8ec5a59 Mon Sep 17 00:00:00 2001 From: Andrew Kumanyaev Date: Wed, 12 Jun 2013 00:58:33 +0400 Subject: [PATCH] Update repository.rb --- lib/gitlab_git/repository.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gitlab_git/repository.rb b/lib/gitlab_git/repository.rb index 696075f..5aafe2a 100644 --- a/lib/gitlab_git/repository.rb +++ b/lib/gitlab_git/repository.rb @@ -82,7 +82,7 @@ def commits_with_refs(n = 20) def commits(ref, path = nil, limit = nil, offset = nil) if path && path != '' - repo.log(ref, path, max_count: limit, skip: offset, follow: true) + repo.log(ref, path, max_count: limit, skip: offset, follow: false) elsif limit && offset repo.commits(ref, limit.to_i, offset.to_i) else