@mutmutco/cli 4.1.2 → 4.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.cjs +1742 -669
- package/dist/repo-index-v4.cjs +2 -1
- package/package.json +1 -1
package/dist/repo-index-v4.cjs
CHANGED
|
@@ -601,7 +601,8 @@ function planRepoIndexV4Delta(opts) {
|
|
|
601
601
|
const baseCommit = opts.baseCommit ? opts.baseCommit.toLowerCase() : null;
|
|
602
602
|
const full = (fallbackReason) => ({ mode: "full", headCommit, fallbackReason, ...baseCommit ? { baseCommit } : {} });
|
|
603
603
|
if (opts.forceFull) return full("explicit-full-rebuild");
|
|
604
|
-
if (!baseCommit || !COMMIT.test(baseCommit)
|
|
604
|
+
if (!baseCommit || !COMMIT.test(baseCommit)) return full("no-active-authority");
|
|
605
|
+
if (baseCommit === headCommit) return { mode: "unchanged", baseCommit, headCommit };
|
|
605
606
|
if (opts.basePipelineCompatible === false) return full("incompatible-base-provenance");
|
|
606
607
|
if (opts.hasPriorMaterial === false) return full("no-prior-material");
|
|
607
608
|
const { git: git2 } = opts;
|
package/package.json
CHANGED