Skip to content

Commit

Permalink
Fix errors on slc6 (#753)
Browse files Browse the repository at this point in the history
Don't append an empty argument if we can't use `--filter=blob:none`.
  • Loading branch information
TimoWilken authored Apr 6, 2022
1 parent 35bf9aa commit 70c97e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alibuild_helpers/workarea.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def updateReferenceRepo(referenceSources, p, spec, fetch=True, usePartialClone=T

if not os.path.exists(referenceRepo):
cmd = ["clone", "--bare", spec["source"], referenceRepo]
if usePartialClone:
if usePartialClone and partialCloneFilter:
cmd.append(partialCloneFilter)
git(cmd)
elif fetch:
Expand Down

0 comments on commit 70c97e5

Please sign in to comment.