We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c4928e commit 794b3c2Copy full SHA for 794b3c2
2 files changed
pycsghub/repository.py
@@ -225,11 +225,13 @@ def git_clone(
225
repo_url: str
226
) -> subprocess.CompletedProcess:
227
try:
228
+ env = os.environ.copy()
229
+ env.update({"GIT_LFS_SKIP_SMUDGE": "1"})
230
result = self.run_subprocess(
231
command=f"git clone -b {branch_name} {repo_url}",
232
folder=self.work_dir,
233
check=True,
- env={"GIT_LFS_SKIP_SMUDGE": "1"}
234
+ env=env
235
).stdout.strip()
236
except subprocess.CalledProcessError as exc:
237
raise EnvironmentError(exc.stderr)
setup.py
@@ -5,7 +5,7 @@
5
6
setup(
7
name='csghub-sdk',
8
- version='0.7.3',
+ version='0.7.4',
9
author="opencsg",
10
author_email="contact@opencsg.com",
11
long_description=long_description,
0 commit comments