Commit 91b890c
committed
fix: use filename fingerprint to prevent false positives on regular markdown
Check for .aider.chat.history.md specifically instead of matching any .md
file with #### headings. Addresses review feedback: CONTRIBUTING.md,
CHANGELOG.md, and API docs would have falsely triggered the Aider parser.
Add test_aider_rejects_generic_md to verify regular markdown files are not
parsed as Aider chat history.1 parent 28f09c8 commit 91b890c
2 files changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
| 155 | + | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
0 commit comments