Fix git syntax issue
This commit is contained in:
parent
a52529f9b6
commit
1511506f72
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue