Skip to content

Commit 10806e4

Browse files
committed
clean is still required because patch still uses cloning
1 parent 94e021b commit 10806e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/pre-commit.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,9 @@ in {
352352
fi
353353
354354
if $doInstall; then
355+
# This because we're still using a clone. The clean invocation can
356+
# be rid of when the patch uses a *working* non-clone code path.
357+
pre-commit clean
355358
pre-commit install
356359
fi
357360
fi

0 commit comments

Comments
 (0)