This commit is contained in:
Filippos Giannakos 2017-09-05 16:20:59 +00:00 committed by GitHub
commit b2e443f66d

View file

@ -8,7 +8,7 @@ do
if [ -n "$first_ancestor" ]; then
# Check that the ancestor has at least one parent
git rev-list --max-parents=0 "$local_sha" | grep "$first_ancestor" > /dev/null
if [ $? -ne 0 ]; then
if [ $? -eq 0 ]; then
args="run --all-files"
else
source=$(git rev-parse "$first_ancestor"^)