We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca6a467 commit bcc4669Copy full SHA for bcc4669
transcrypt
@@ -261,7 +261,7 @@ git_merge() {
261
# Look up name of the incoming "theirs" branch/ref being merged in.
262
# TODO There must be a better way of doing this than relying on this reflog
263
# action environment variable, but I don't know what it is
264
- if [[ "$GIT_REFLOG_ACTION" = "merge "* ]]; then
+ if [[ "${GIT_REFLOG_ACTION:-}" = "merge "* ]]; then
265
THEIRS_LABEL=$(echo "$GIT_REFLOG_ACTION" | awk '{print $2}')
266
fi
267
if [[ ! "$THEIRS_LABEL" ]]; then
0 commit comments