]> git.ozlabs.org Git - next-scripts/commitdiff
merge_msg: fix branch handling
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 1 Oct 2020 01:16:22 +0000 (11:16 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 1 Oct 2020 01:16:22 +0000 (11:16 +1000)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
merge_msg

index 33332d30255c68767d4a536701b1dd96b2250912..ea6444e9b8e682a7334512047cf2e7f2d0afac23 100755 (executable)
--- 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