Revert "Remove unused variable in shell script"

This partially reverts commit ab8e8b97a3
This commit is contained in:
MarcoFalke 2017-11-09 16:53:09 -05:00
parent 5e9be169e4
commit fa0025dc3c
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ if [ -z "$latest_squash" ]; then
fi
set $latest_squash
old=$1
rev=$2
if [ "d$(git cat-file -t $rev 2>/dev/null)" != dcommit ]; then
echo "ERROR: subtree commit $rev unavailable. Fetch/update the subtree repository" >&2