]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
default to origin/master, not master 282/head
authorAlfredo Deza <adeza@redhat.com>
Fri, 8 Jan 2016 13:43:49 +0000 (08:43 -0500)
committerAlfredo Deza <adeza@redhat.com>
Fri, 8 Jan 2016 13:43:49 +0000 (08:43 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-pr-commits/build/test_commits.py

index bbb5efa03a02386461f541142515c3a19fcf1ea9..75add2b2f2f0432f1a944c737297bddeb5e50c84 100644 (file)
@@ -21,7 +21,7 @@ def run(command):
 
 
 def get_commits():
-    target_branch = os.getenv('ghprbTargetBranch', 'master')
+    target_branch = os.getenv('ghprbTargetBranch', 'origin/master')
     source_branch = os.getenv('ghprbSourceBranch', 'HEAD')
     command = ['git', 'log', '--no-merges', '%s..%s' % (target_branch, source_branch)]
     output = run(command)