Applied.
On Thu, Aug 20, 2020 at 10:52:05AM +0800, Zhang Yale wrote:
Signed-off-by: Zhang Yale zhangyale3@huawei.com
src/delimiter/find-commit/git_bisect.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/delimiter/find-commit/git_bisect.rb b/src/delimiter/find-commit/git_bisect.rb index 0e8b509..9c6873c 100644 --- a/src/delimiter/find-commit/git_bisect.rb +++ b/src/delimiter/find-commit/git_bisect.rb @@ -53,12 +53,12 @@ class GitBisect def set_work_dir @work_dir = Utils.clone_repo(@upstream_repo, @upstream_commit) puts "work_dir: #{@work_dir}"
- raise "checkout repo: #{@upstream_repo} to commit: #{@upstream_commit} failed!" unless @work_dir
raise "checkout repo: #{@upstream_repo} to commit: #{@upstream_commit} failed!" unless @work_dir end
def set_good_commit @good_commit = find_good_commit
- raise "can not find a good commit" unless @good_commit
raise 'can not find a good commit' unless @good_commit end
# run git bisect start use upstream_commit and good_commit
-- 2.23.0