# File lib/gitlab_git/commit.rb, line 87 def last_for_path(repo, ref, path = nil) where( repo: repo, ref: ref, path: path, limit: 1 ).first end