Skip to content

Commit

Permalink
Revert "Remove unused variable in shell script"
Browse files Browse the repository at this point in the history
This partially reverts commit ab8e8b9
  • Loading branch information
MarcoFalke committed Nov 9, 2017
1 parent 5e9be16 commit fa0025d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/devtools/git-subtree-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa0025d

Please sign in to comment.