#1117 Omit extra git-checkout while cloning repo
Merged 3 months ago by mprahl. Opened 3 months ago by lholecek.
lholecek/fm-orchestrator omit-extra-git-checkout  into  master

@@ -158,6 +158,7 @@ 

  

              module_clone_cmd = ['git', 'clone', '-q']

              if self.commit:

+                 module_clone_cmd.append('--no-checkout')

                  module_checkout_cmd = ['git', 'checkout', '-q', self.commit]

              else:

                  module_clone_cmd.extend(['--depth', '1'])

Why not ".append('--no-checkout')"?

rebased onto 3ebc679

3 months ago

Any idea why tests are failing? I thought it was only my local tests but looks like Jenkins has the same issue.

Any idea why tests are failing? I thought it was only my local tests but looks like Jenkins has the same issue.

There's some Jenkins issue. But I also see that there are 2 failed tests I'm accidentally merged for changes I've cut from the previous pull-request. I've created a pull-request to remove them.

Pull-Request has been merged by mprahl

3 months ago