mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 00:24:47 +04:00
Remove clone depth check
This commit is contained in:
parent
ec2e15f086
commit
e748da2abe
2 changed files with 0 additions and 7 deletions
|
|
@ -142,8 +142,3 @@ def git_commit(*args, **kwargs):
|
|||
if msg is not None: # allow skipping `-m` with `msg=None`
|
||||
cmd += ('-m', msg)
|
||||
return fn(*cmd, **kwargs)
|
||||
|
||||
|
||||
def git_ref_count(repo):
|
||||
_, out, _ = cmd_output('git', 'rev-list', '--all', '--count', cwd=repo)
|
||||
return int(out.split()[0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue