Added by Julien Enselme almost 8 years ago
Test added for git where posing trouble
We must use
to launch function in a subshell, other wise the whole
script exit with the instruction 'exit 1' or 'exit 0'.
We must use " around variable for test. Otherwise, we get a Unexpected
check_arguments $# 1 "$help"
if ! work_tree_clean ; then
if ! `work_tree_clean` ; then
echo "Your work tree is not clean. Solve this before $0 can continue."
Also available in: Unified diff