Skip to content

Commit 4406021

Browse files
committed
Fix faulty test syntax and rogue trailing 'X'
This test wasn't working at all as intended.
1 parent fb086ec commit 4406021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

transcrypt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ save_helper_scripts() {
332332
# Look up name of remote branch/ref from which changes are being merged
333333
# TODO There must be a better way of doing this than relying on this reflog
334334
# action environment variable, but I don't know what it is
335-
if [[ "$GIT_REFLOG_ACTIONX"="merge "* ]]; then
335+
if [[ "$GIT_REFLOG_ACTION" = "merge "* ]]; then
336336
REMOTE_NAME=$(echo $GIT_REFLOG_ACTION | awk '{print $2}')
337337
fi
338338
if [[ ! "$REMOTE_NAME" ]]; then

0 commit comments

Comments
 (0)