repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

chore: remove gitleaks from bootstripper pre-commit, update pi-ext submodule (remove forget)

48a31fcd2e0da790a72d77e30a2a7bc3404f5fce

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (2)

bootstripper.java

Modified
271 271 static void pre_commit(Path root) throws Throwable {
272 272 check(root);
273 - run_optional_gitleaks(root);
274 - }
276 - static void run_optional_gitleaks(Path root) throws Throwable {
277 - try {
278 - run(root, List.of("gitleaks", "git", "--pre-commit", "--staged", "--redact=100"), null, true);
279 - } catch (IOException error) {
280 - if (error.getMessage() != null && error.getMessage().contains("Cannot run program \"gitleaks\"")) {
281 - log("Skipping gitleaks: command not found.");
282 - return;
283 - }
284 - throw error;
285 - }
288 275 static void check(Path root) throws Throwable {

pi-ext

Modified
1 -Subproject commit bebe40e3e7cb87b995115296a15078fe1b6c535f
1 +Subproject commit 51b2c89b6a8337845484b12a68b1fc57714f3a3a