Add check for compose bindata.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
DIFF_PATH=$1
|
||||
|
||||
if [ "`git status --porcelain -- $DIFF_PATH 2>/dev/null`" ]; then
|
||||
echo
|
||||
echo "These files were changed:"
|
||||
echo
|
||||
git status --porcelain -- $DIFF_PATH 2>/dev/null
|
||||
echo
|
||||
exit 1
|
||||
else
|
||||
echo "$DIFF_PATH is correct"
|
||||
fi;
|
||||
Reference in New Issue
Block a user