github-apply.sh: remove unused variable
authorJo-Philipp Wich <jo@mein.io>
Sun, 4 Feb 2018 12:42:08 +0000 (13:42 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 4 Feb 2018 12:42:08 +0000 (13:42 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
github-apply.sh

index 72916ce8d362c1d5d3decf02bb636f6f52bbd7d8..de2ad4112999abf01236a5ef2cc00763fe8516d1 100755 (executable)
@@ -52,8 +52,6 @@ fi
 
 git checkout "$BRANCH"
 
-oldhead="$(git log -1 --format="%H")"
-
 if ! git merge --ff-only "PR$PRID"; then
        echo ""                                                       >&2
        echo "Failed to fast-forward merge 'PR$PRID' into '$BRANCH'!" >&2