update git-lfs shim

This commit is contained in:
github-actions[bot]
2026-05-01 02:20:50 +00:00
commit a170e4e7bf
3 changed files with 145 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import os
import sys
BIN_DIR = os.path.join(os.path.dirname(__file__), "bin")
def _run():
binary = os.path.join(BIN_DIR, "git-lfs")
os.execvp(binary, [binary] + sys.argv[1:])
def smoketest():
import subprocess
binary = os.path.join(BIN_DIR, "git-lfs")
subprocess.run([binary, "--version"], check=True)