Commit 13c17ed4 authored by Robert Schilling's avatar Robert Schilling

Turn if/else branch vor valid compare error message

parent 9d3e384a
...@@ -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