diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-03-17 15:51:14 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-03-18 14:28:50 +0100 |
commit | 9d938fd77da033f09530571a6194609aee8bbc7b (patch) | |
tree | 236b12b7cad36ab2eebd9111fe8234949659e9d4 /app/helpers/events_helper.rb | |
parent | dbd347bfa00e133da8ac178612ed8c30ef871ca4 (diff) | |
download | gitlab-ce-9d938fd77da033f09530571a6194609aee8bbc7b.tar.gz |
List new commits for newly pushed branch in activity view.
Diffstat (limited to 'app/helpers/events_helper.rb')
-rw-r--r-- | app/helpers/events_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb index 779cebc0136..c9fd0f0362b 100644 --- a/app/helpers/events_helper.rb +++ b/app/helpers/events_helper.rb @@ -96,7 +96,7 @@ module EventsHelper end end elsif event.push? - if event.push_with_commits? + if event.push_with_commits? && event.md_ref? if event.commits_count > 1 namespace_project_compare_url(event.project.namespace, event.project, from: event.commit_from, to: |