]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/ML: customize the name of the maint track when determining what to merge later...
authorJunio C Hamano <gitster@pobox.com>
Mon, 20 Mar 2017 20:25:21 +0000 (13:25 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Mar 2017 20:25:21 +0000 (13:25 -0700)
ML

diff --git a/ML b/ML
index f8376cd2afd7a1c4d28e28713b9656d29cac49ba..7a74151b62fc614035c4bc2574ea7212f003ae13 100755 (executable)
--- a/ML
+++ b/ML
@@ -1,13 +1,13 @@
 #!/bin/sh
 # Merge later...
 
-target=maint
+: "${target:=maint}" "${here:=master}"
 
 # Read from RelNotes and find mergeable topics
 search_topics () {
        tmp=/tmp/ML.$$
        trap 'rm -f "$tmp"' 0
-       git rev-list --parents --first-parent $target..master >"$tmp"
+       git rev-list --parents --first-parent $target..$here >"$tmp"
 
        x40='[0-9a-f]'
        x40="$x40$x40$x40$x40$x40"