ggcr: mutate.Extract
does not handle whiteouts of directories properly
#1897
Labels
bug
Something isn't working
Describe the bug
When the source image contains a layer with an opaque whiteout, the output of
mutate.Extract
seems to contain unexpected content.To Reproduce
I've implemented a reproducer in the form of a test in tri-adam@062c74e.
In the test, an image whose base layer is:
.. with a layer that deletes
a/b/
using an opaque whiteout ona/
:... results in a (squashed) layer that contains
a/b/
:Expected behavior
I believe the expected output would be:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: