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 }