RSS Git Download  Clone
Raw Blame History
{% autoescape false %}
{
	'repo': {{ repo | json_encode }},
	'branch': {{ branch | json_encode }},
	'commits': [
		{% for commit in commits %}
			{% if not loop.first %},{% endif %}
			{
				'hash': {{ commit.hash | json_encode }},
				'parentsHash': {{ commit.parentsHash | json_encode }},
				'date': {{ commit.date | date('U') | json_encode }},
				'author': {
					'name': {{ commit.author.name | json_encode }},
					'email': {{ commit.author.email | json_encode }}
				},
				'message': {{ commit.message | json_encode }}
			}
		{% endfor %}
	]

}
{% endautoescape %}