Commit 1511506f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix git syntax issue

parent a52529f9
......@@ -238,7 +238,7 @@ class Repository
end
def last_commit_for_path(sha, path)
args = %W(git rev-list --max-count 1 #{sha} -- #{path})
args = %W(git rev-list --max-count=1 #{sha} -- #{path})
sha = Gitlab::Popen.popen(args, path_to_repo).first.strip
commit(sha)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment