Meta/ML: customize the name of the maint track when determining what to merge later into it
Junio C Hamano committed
Mar 20, 2017 at 13:25 UTC
917f7280c69173b77ffc91dc2c21c0f34c0fadb9
1 file changed
+2
-2
ML
+2
-2
index f8376cd2af..7a74151b62 100755
--- 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"