Skip to content
This repository was archived by the owner on May 12, 2018. It is now read-only.

Commit 9b68eec

Browse files
committed
Update README.md
1 parent d6c3928 commit 9b68eec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ GitLab Git used grit as main library in past. Now it uses rugged
121121
commit = Gitlab::Git::Commit.last(repo)
122122

123123
# Get last commit for specified file/directory
124-
Gitlab::Git::Commit.find_for_path(repo, '29eda46b', 'app/models')
124+
Gitlab::Git::Commit.last_for_path(repo, '29eda46b', 'app/models')
125125

126126
# Commits between branches
127127
Gitlab::Git::Commit.between(repo, 'dev', 'master')

0 commit comments

Comments
 (0)