mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-04 19:26:52 +00:00
Use new git lfs (broken due to lfs returning non-lfs files)
This commit is contained in:
parent
e11d94cfba
commit
0c5f040a7f
3 changed files with 8 additions and 21 deletions
|
|
@ -79,10 +79,6 @@ xfailif_no_gitlfs = pytest.mark.xfail(
|
|||
@xfailif_no_gitlfs
|
||||
def test_allows_gitlfs(temp_git_dir): # pragma: no cover
|
||||
with temp_git_dir.as_cwd():
|
||||
# Work around https://github.com/github/git-lfs/issues/913
|
||||
cmd_output(
|
||||
'git', 'commit', '--no-gpg-sign', '--allow-empty', '-m', 'foo',
|
||||
)
|
||||
cmd_output('git', 'lfs', 'install')
|
||||
temp_git_dir.join('f.py').write('a' * 10000)
|
||||
cmd_output('git', 'lfs', 'track', 'f.py')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue