#!/bin/sh

# The current directory is the top level of the working tree.
# The following environment variables are set: GIT_DIR is set to ‘.git’, GIT_INDEX_FILE is set to ‘.git/index’

# Make sure that there are no big files w/ link replaced
# Git -R is idempotent. If there are no links nothing is done
if [ -x ./build/bigfiles/bigfiles.sh ]; then
    ./build/bigfiles/bigfiles.sh -R || exit $?
fi
