Allow to specify default branch for repos

By default Stackalytics processes commits from master branch,
but for 3rd-party projects that may not work. Allow to set which
branch needs to be used.

Closes bug 1434533

Change-Id: I0a0b7e610a807c643e391535784824bd8328e54a
This commit is contained in:
Ilya Shakhat
2015-04-01 14:47:14 +03:00
parent ce121e8067
commit cad8a87ce6
6 changed files with 28 additions and 8 deletions

View File

@@ -84,7 +84,7 @@ show_record_type=True, show_user_gravatar=True, gravatar_size=32, show_all=True)
{%if record_type == "commit" %}
<div class="header">Commit &ldquo;${subject}&rdquo;</div>
<div class="message">{%html message %}</div>
{%if commit_date_str != "" %}
{%if commit_date_str != "" && commit_date_str != date_str %}
<div>Commit date: ${commit_date_str}</div>
{%/if%}
{%if correction_comment != "" %}