doc: improve subtree check instructions

This commit is contained in:
Sjors Provoost
2020-06-12 12:33:00 +02:00
parent 6762a627ec
commit a4a3fc4cd2
3 changed files with 8 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ fi
# get the tree in the subtree commit referred to
if [ "d$(git cat-file -t $rev 2>/dev/null)" != dcommit ]; then
echo "subtree commit $rev unavailable: cannot compare" >&2
echo "subtree commit $rev unavailable: cannot compare. Did you add and fetch the remote?" >&2
exit
fi
tree_subtree=$(git show -s --format="%T" $rev)