mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Ignore shallow clone coverage on appveyor
Appveyor uses old version of git so shallow clone always fails and lines 150-151 are not executed.
This commit is contained in:
parent
a170e60daa
commit
ab1df03418
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ class Store(object):
|
||||||
git_cmd('checkout', ref)
|
git_cmd('checkout', ref)
|
||||||
git_cmd('submodule', 'update', '--init', '--recursive')
|
git_cmd('submodule', 'update', '--init', '--recursive')
|
||||||
|
|
||||||
def _shallow_clone(self, ref, git_cmd):
|
def _shallow_clone(self, ref, git_cmd): # pragma: windows no cover
|
||||||
"""Perform a shallow clone of a repository and its submodules """
|
"""Perform a shallow clone of a repository and its submodules """
|
||||||
|
|
||||||
git_config = 'protocol.version=2'
|
git_config = 'protocol.version=2'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue