aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2017-11-09 16:53:09 -0500
committerMarcoFalke <falke.marco@gmail.com>2017-11-09 16:49:25 -0500
commitfa0025dc3cba52ad8fb2411b9d61ca5a1845025b (patch)
tree66a17d5fef7cc115098ea8cd6bd1610e162d06d2
parent5e9be169e430a6828b69f22ae9d47ecc1b2685c1 (diff)
Revert "Remove unused variable in shell script"
This partially reverts commit ab8e8b97a359e1c4f1bca8e1769021c95019f2c4
-rwxr-xr-xcontrib/devtools/git-subtree-check.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/devtools/git-subtree-check.sh b/contrib/devtools/git-subtree-check.sh
index 446db59167..9f34451e1a 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