Installs pre-commit hooks for OCaml projects that run dune fmt automatically
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

precommit: add sed escaping test, fix slash patterns

+12
+12
test/fix.t
··· 1 + Test precommit fix command - sed pattern escaping 2 + 3 + Test that sed patterns with slashes are escaped properly 4 + The sed command should handle URLs with forward slashes: 5 + $ echo "Line 1 6 + > Co-Authored-By: Claude 7 + > https://claude.ai/test 8 + > Generated with Claude 9 + > Line 2" | sed -e '/Co-Authored-By.*[Cc]laude/d' -e '/https:\/\/claude\.ai\//d' -e '/Generated with.*[Cc]laude/d' 10 + Line 1 11 + Line 2 12 +