open-code-review/internal/diff
Ziyang Guo 5b37b5f8e2
fix(diff): match gitignore directory patterns (#853)
Match directory-only patterns against ancestor paths with glob and root-anchor semantics aligned to Git. Add regression coverage for nested, globstar, component-glob, and anchored patterns.

Test: make test
2026-08-12 14:28:51 +08:00
..
first_line_test.go test: raise statement coverage to 90% and enforce it in CI (#747) 2026-08-06 12:55:44 +08:00
git.go fix(diff): match gitignore directory patterns (#853) 2026-08-12 14:28:51 +08:00
git_resolve_test.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
git_test.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
gitignore.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
gitignore_test.go fix(diff): match gitignore directory patterns (#853) 2026-08-12 14:28:51 +08:00
hunk.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
hunk_test.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
parser.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
parser_test.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
relocation.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
relocation_test.go fix: remove timeout fields and more (#756) 2026-08-06 22:19:27 +08:00
resolver.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
resolver_test.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
workspace_file.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00
workspace_file_test.go chore: add SPDX license headers and automated verification (#740) 2026-08-05 21:26:27 +08:00