Currently string comparison is used to detect changes. The comparisons are already done ordered, however since - will compare before /, a directory deletion which also has a directory ending with - can cause the wrong change output. The comparisons must be done considering directory separators as the lowest sorting value.
Currently string comparison is used to detect changes. The comparisons are already done ordered, however since
-
will compare before/
, a directory deletion which also has a directory ending with-
can cause the wrong change output. The comparisons must be done considering directory separators as the lowest sorting value.Related to https://github.com/moby/buildkit/issues/960