|
|
|
@ -160,6 +160,8 @@ class PullRequestsController < ApplicationController
|
|
|
|
|
git_sourse_commit_id = @g.get_branch_commit_id(@project.gpid, git_source_tree, source_branch)
|
|
|
|
|
git_target_commit_id = @g.get_branch_commit_id(@project.gpid, git_source_tree, target_branch)
|
|
|
|
|
end
|
|
|
|
|
Rails.logger.info("=========git_sourse_commit_id========#{git_sourse_commit_id}")
|
|
|
|
|
Rails.logger.info("=========git_target_commit_id========#{git_target_commit_id}")
|
|
|
|
|
status = (git_sourse_commit_id.try(:commit_id) == git_target_commit_id.try(:commit_id) ? false : true)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|