From fa0025dc3cba52ad8fb2411b9d61ca5a1845025b Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Thu, 9 Nov 2017 16:53:09 -0500 Subject: [PATCH] Revert "Remove unused variable in shell script" This partially reverts commit ab8e8b97a359e1c4f1bca8e1769021c95019f2c4 --- contrib/devtools/git-subtree-check.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/devtools/git-subtree-check.sh b/contrib/devtools/git-subtree-check.sh index 446db5916..9f34451e1 100755 --- a/contrib/devtools/git-subtree-check.sh +++ b/contrib/devtools/git-subtree-check.sh @@ -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