You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: skip extract if linkpath is stripped entirely
Fix tar.Unpack() to skip extraction of hardlinks and symlinks when a
'strip' option is provided, if the entry linkpath would be completely
stripped.
Previously, the linkpath would not be stripped if it had fewer path parts
than the strip option.
This matches the behavior of modern versions of bsdtar. Gnutar has the
same extraction semantics, but emits a warning when the resulting
linkpath is completely stripped.
0 commit comments