json.trees @trees

if @trees.present?
  json.partial! 'shixuns/commit', locals: { commits: @latest_commit }
end

json.git_url @repo_url