lib/gitlab_git/repository.rb in gitlab_git-1.0.5 vs lib/gitlab_git/repository.rb in gitlab_git-1.0.6

- old
+ new

@@ -123,10 +123,10 @@ def ref_names [branch_names + tag_names].flatten end def heads - @heads ||= repo.heads + @heads ||= repo.heads.sort_by(&:name) end def tree(fcommit, path = nil) fcommit = commit if fcommit == :head tree = fcommit.tree