Browse Source

Revert "Remove unused variable in shell script"

This partially reverts commit ab8e8b97a3
0.16
MarcoFalke 7 years ago
parent
commit
fa0025dc3c
  1. 1
      contrib/devtools/git-subtree-check.sh

1
contrib/devtools/git-subtree-check.sh

@ -48,6 +48,7 @@ if [ -z "$latest_squash" ]; then @@ -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

Loading…
Cancel
Save