代码优化:gitlab和trustie分离

This commit is contained in:
huang 2015-11-03 10:52:32 +08:00
parent 55e859c6c0
commit 7f3d44ce63
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ update
#Modified by young
# (show_error_not_found; return) unless @entries
g = Gitlab.client
@changesets = g.get ("/projects/#{@project.gpid}/repository/commits")
@changesets = g.commits(@project.gpid)
# @changesets = @repository.latest_changesets(@path, @rev)
# @changesets_count = @repository.latest_changesets(@path, @rev).count
@changesets_count = @changesets.count