readdir-glob reaches minimatch twice: the directory walk, and the pattern/ignore matching behind archiver's glob(). The second is where a semantic change shows up as silently skipped files rather than an error, so the check archives a tree by pattern with an ignore and asserts what it kept: a.txt in, sub/** out.