1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 07:10:05 +02:00
copilot/bin/on-changes
2017-01-06 12:50:11 +00:00

9 lines
95 B
Bash
Executable File

#! /usr/bin/env bash
#
# Prelude
#
set -euo pipefail
[[ $(git diff --name-only) == *"$1"* ]]