fix(core): clarify patch context guidance
This commit is contained in:
parent
3c259fc552
commit
edbe308787
1 changed files with 2 additions and 0 deletions
|
|
@ -12,6 +12,8 @@ Each operation starts with one of three headers:
|
|||
*** Delete File: <path> - remove an existing file. Nothing follows.
|
||||
*** Update File: <path> - patch an existing file in place (optionally with a rename).
|
||||
|
||||
In update hunks, lines prefixed with a space are unchanged context and must match the current file exactly. If a line changes, emit the old line with `-` and the new line with `+`; never place the intended new version in an unchanged context line.
|
||||
|
||||
Example patch:
|
||||
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue