Skip to content

Commit

Permalink
Update unified-diffs.md
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier authored Dec 27, 2023
1 parent 1a110bc commit 00d5348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/unified-diffs.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ There are probably a couple of reasons why high level diffs
help:

- It's easier to produce diffs that both correctly match the original code and correctly produce the intended new code. There is less risk of GPT getting confused, compared to generating a series of surgical edits that interleave lines of old and new code.
- High level hunks often contain more lines than a surgical hunk, so they are less likely to accidentally match unrelated parts of code. This is helpful because GPT can't reliably give us line numbers to specify exactly where in the file to make changes.
- High level hunks often contain more lines than a surgical hunk, so they are less likely to accidentally match unrelated parts of the code. This is helpful because GPT can't reliably give us line numbers to specify exactly where in the file to make changes.

### Be flexible when applying edits

Expand Down

0 comments on commit 00d5348

Please sign in to comment.