#!/bin/bash
input="/home/ekaterina/check_git_sha.txt"


# streams with scaler: https://git.zooxlabs.com/zooxco/driving/pull/45580, July 25th
#COMMIT_ID=13c6ac22fc4fcfc02659607119b6b69c268afef4

# TRT 5.1, Aug 14th
# COMMIT_ID=ff407d3f33715476302e8f9d2bf9e84467e75001

# add async interface to blob https://git.zooxlabs.com/zooxco/driving/pull/46524, Aug 19th
#COMMIT_ID=4848fd5253e7fe03d5e7106e1aec43ff123fcb9a

# fix: https://git.zooxlabs.com/zooxco/driving/pull/49235
#COMMIT_ID=c659f3458735ef0eb0214101702e190556153395
COMMIT_ID=ada0d6ba721385854ac514d4f3f7ebfe5d019b67

while IFS= read -r line
do
    if git merge-base --is-ancestor $COMMIT_ID $line; then echo "$line yes"; else echo "$line no"; fi
done < "$input"
