Commit 9238616d authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #7468 from Razer6/fix_wrong_compare_message

Turn if/else branch for valid compare error message
parents 505203e7 13c17ed4
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
There isn't anything to compare. There isn't anything to compare.
%p.slead %p.slead
- if params[:to] == params[:from] - if params[:to] == params[:from]
You'll need to use different branch names to get a valid comparison.
- else
%span.label-branch #{params[:from]} %span.label-branch #{params[:from]}
and and
%span.label-branch #{params[:to]} %span.label-branch #{params[:to]}
are the same. are the same.
- else
You'll need to use different branch names to get a valid comparison.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment