]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-pr-submodules: do not use shallow-clone 1414/head
authorKefu Chai <kchai@redhat.com>
Wed, 16 Oct 2019 03:28:40 +0000 (11:28 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 16 Oct 2019 03:28:42 +0000 (11:28 +0800)
we use
```
git diff --submodule=log origin/$ghprbTargetBranch...$ghprbActualCommit
```

for checking the differences between the delta since their common
ancestor, so we have to do a non-shallow clone for accessing the
common ancestor.

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-pr-submodules/config/definitions/ceph-pr-commits.yml

index 78f2c30c6590474d556e13911859c541eab1cfcb..7769ad74a1256cade80362393cd4c09b782413b6 100644 (file)
@@ -46,7 +46,6 @@
           browser: auto
           timeout: 20
           skip-tag: true
-          shallow-clone: true
           wipe-workspace: true
 
     builders: