#907: show only tags with commit
This commit is contained in:
parent
b49fdb5267
commit
f97fb4c4a5
|
@ -25,7 +25,7 @@ class Projects::Git::TreesController < Projects::Git::BaseController
|
|||
end
|
||||
|
||||
def tags
|
||||
@tags = @project.repo.tags.sort_by(&:name)
|
||||
@tags = @project.repo.tags.select{ |t| t.commit }.sort_by(&:name)
|
||||
end
|
||||
|
||||
def branches
|
||||
|
|
Loading…
Reference in New Issue