Minor improve to UI and code formatting of gitlab web editor
This commit is contained in:
parent
47d9732a07
commit
809aefb828
8 changed files with 37 additions and 19 deletions
|
@ -32,6 +32,10 @@ module Repository
|
|||
Commit.commits(repo, ref, path, limit, offset)
|
||||
end
|
||||
|
||||
def last_commit_for(ref, path = nil)
|
||||
commits(ref, path, 1).first
|
||||
end
|
||||
|
||||
def commits_between(from, to)
|
||||
Commit.commits_between(repo, from, to)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue