We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9c95a0 commit 0806aedCopy full SHA for 0806aed
src/taskgraph/run-task/fetch-content
@@ -603,6 +603,10 @@ def repack_archive(
603
if tarinfo.isfile():
604
tar.addfile(tarinfo, origtar.extractfile(tarinfo))
605
else:
606
+ # Hard links are relative to the root of the archive,
607
+ # so the filter needs to be applied to its destination.
608
+ if tarinfo.islnk():
609
+ tarinfo.linkname = filter(tarinfo.linkname)
610
tar.addfile(tarinfo)
611
612
# We only change compression here. The tar stream is unchanged.
0 commit comments