From: Stephen Rothwell Date: Thu, 1 Oct 2020 01:16:22 +0000 (+1000) Subject: merge_msg: fix branch handling X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=394238660cc5f1acf271e7aab3243ae43c4cb607;p=next-scripts merge_msg: fix branch handling Signed-off-by: Stephen Rothwell --- diff --git a/merge_msg b/merge_msg index 33332d3..ea6444e 100755 --- a/merge_msg +++ b/merge_msg @@ -1,6 +1,6 @@ #!/bin/bash -branch='' +branch=() if [ "X$1" = 'X-t' ]; then branch=( -t "$2" ) shift 2