From bbaa8d58b058c76c10a4457c18e3a84b2a6a19ac Mon Sep 17 00:00:00 2001 From: abejgonzalez Date: Mon, 3 Jun 2019 09:41:56 -0700 Subject: [PATCH] switch to git branch --- .circleci/check-commit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/check-commit.sh b/.circleci/check-commit.sh index 7b0ec9e5..ea7e30f5 100755 --- a/.circleci/check-commit.sh +++ b/.circleci/check-commit.sh @@ -18,7 +18,7 @@ search () { echo "Running check on submodule $submodule in $dir" hash=$(echo "$status" | grep $submodule | awk '{print$1}' | grep -o "[[:alnum:]]*") echo "Searching for $hash in origin/master of $submodule" - git -C $dir/$submodule log origin/master | grep "$hash" # needs init'ed submodules + git -C $dir/$submodule branch -r --contains "$hash" | grep "origin/master" # needs init'ed submodules done }