[vlc-commits] extras/cherry-test: default to origin/master as master can be HEAD

Steve Lhomme git at videolan.org
Wed Nov 25 07:41:28 CET 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Nov 25 07:41:08 2020 +0100| [c9890de86fd843aea0fe1e07add2ce523ec18ef8] | committer: Steve Lhomme

extras/cherry-test: default to origin/master as master can be HEAD

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c9890de86fd843aea0fe1e07add2ce523ec18ef8
---

 extras/misc/cherry-test.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/extras/misc/cherry-test.sh b/extras/misc/cherry-test.sh
index f9ebf99fbd..892350b1e6 100755
--- a/extras/misc/cherry-test.sh
+++ b/extras/misc/cherry-test.sh
@@ -9,7 +9,7 @@ Check that cherry pick commits are properly formatted/documented.
 Differing patches are put in patches-new/ and patches-orig/
 
 original_branch:  the branch where the cherry-picked commits come from
-commit_range   :  the commits to check (master..HEAD if not specified)
+commit_range   :  the commits to check (origin/master..HEAD if not specified)
 
 - edits are marked as
 (cherry picked from commit <hash>) (edited)
@@ -31,7 +31,7 @@ ORIGINAL_BRANCH=$1
 if test -n "$2"; then
     COMMIT_RANGE=$2
 else
-    COMMIT_RANGE="master..HEAD"
+    COMMIT_RANGE="origin/master..HEAD"
 fi
 
 CHERY_PICK_DETECT="cherry picked from commit "



More information about the vlc-commits mailing list