lib/danger/scm_source/git_repo.rb in danger-additional-logging-0.0.2 vs lib/danger/scm_source/git_repo.rb in danger-additional-logging-0.0.3
- old
+ new
@@ -79,12 +79,11 @@
git_in_depth_fetch
raise_if_we_cannot_find_the_commit(commitish) if commit_not_exists?(commitish)
end
def ensure_commitish_exists_on_branch!(branch, commitish)
+ puts "ensure_commitish_exists_on_branch(#{branch}, commitish=#{commitish})!"
return if commit_exists?(commitish)
-
- puts "ensure_commitish_exists_on_branch!"
depth = 0
success =
(3..6).any? do |factor|
depth += Math.exp(factor).to_i