merge
This commit is contained in:
commit
13263a44e4
|
@ -29,6 +29,7 @@ class CompareController < ApplicationController
|
||||||
# if @compare_result["Commits"].blank? && @compare_result["Diff"].blank?
|
# if @compare_result["Commits"].blank? && @compare_result["Diff"].blank?
|
||||||
# return -2, "分支内容相同,无需创建合并请求"
|
# return -2, "分支内容相同,无需创建合并请求"
|
||||||
# end
|
# end
|
||||||
|
puts "``````````", @base, @head
|
||||||
if @base == @head
|
if @base == @head
|
||||||
return -2, "请选择不同分支"
|
return -2, "请选择不同分支"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue