Skip to content

Commit fa0025d

Browse files
author
MarcoFalke
committed
Revert "Remove unused variable in shell script"
This partially reverts commit ab8e8b9
1 parent 5e9be16 commit fa0025d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/devtools/git-subtree-check.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ if [ -z "$latest_squash" ]; then
4848
fi
4949

5050
set $latest_squash
51+
old=$1
5152
rev=$2
5253
if [ "d$(git cat-file -t $rev 2>/dev/null)" != dcommit ]; then
5354
echo "ERROR: subtree commit $rev unavailable. Fetch/update the subtree repository" >&2

0 commit comments

Comments
 (0)