Repository navigation
Commit bfcb834
authored
docs(protocol): allow Clients to tolerate a/ and b/ prefixes on relative git_patch paths (#2578)
The parsing note said to configure diff parsers not to strip any leading
component. Absolute paths never carry Git's prefixes, so stripping only matters
for relative paths, which already come from Agents that don't follow the rules.
Say not to strip from absolute paths, and that Clients can still strip a/ or b/
from relative paths to tolerate Git's default output while changes decides the
file.1 parent 0948e17 commit bfcb834
2 files changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
597 | | - | |
598 | | - | |
599 | | - | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
600 | 603 | | |
601 | 604 | | |
602 | 605 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
597 | | - | |
598 | | - | |
599 | | - | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
600 | 603 | | |
601 | 604 | | |
602 | 605 | | |
| |||
0 commit comments