]> git.ozlabs.org Git - next-scripts/commitdiff
use -b (branch) instead of -t (tree)
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 1 Oct 2020 01:41:25 +0000 (11:41 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 1 Oct 2020 01:41:25 +0000 (11:41 +1000)
I am going to use -t for "To:" addresses

merge_msg
message_helper

index ea6444e9b8e682a7334512047cf2e7f2d0afac23..847698b34f30bc506e4329f12443318bb7fec458 100755 (executable)
--- a/merge_msg
+++ b/merge_msg
@@ -1,8 +1,8 @@
 #!/bin/bash
 
 branch=()
-if [ "X$1" = 'X-t' ]; then
-        branch=( -t "$2" )
+if [ "X$1" = 'X-b' ]; then
+        branch=( -b "$2" )
         shift 2
 fi
 
index 09985afe2eb1abb57fd778bbbf1e91977a4404d2..4224734bc19d0d9c39a592596537e2dd7328d8a7 100755 (executable)
@@ -9,7 +9,7 @@ if [ -f merge.log ]; then
 fi
 
 branch=
-if [ "$1" = '-t' ]; then
+if [ "$1" = '-b' ]; then
         branch="$2"
         shift 2
 fi