Repository navigation
Commit 97e9fe3
fix(filesystem): cut long lines in the no-match error; number an EOF blank line right
Copilot round 2 on #5379. A quoted file line is cut at 500 characters,
marked, and the retry hint then says to read the file, so a one-line
minified file cannot make the error as large as the file. A missing line
past the end of the file is detected against the file's line count, so an
extra blank line in oldText after the file's last line is reported as that
line.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: cliffhall <[email protected]>1 parent bf689d7 commit 97e9fe3
2 files changed
Lines changed: 46 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
172 | 196 | | |
173 | 197 | | |
174 | 198 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
739 | 739 | | |
740 | 740 | | |
741 | 741 | | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
742 | 745 | | |
743 | 746 | | |
744 | 747 | | |
| |||
852 | 855 | | |
853 | 856 | | |
854 | 857 | | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
855 | 867 | | |
856 | 868 | | |
857 | | - | |
| 869 | + | |
858 | 870 | | |
859 | 871 | | |
860 | 872 | | |
| |||
868 | 880 | | |
869 | 881 | | |
870 | 882 | | |
871 | | - | |
872 | | - | |
| 883 | + | |
873 | 884 | | |
874 | 885 | | |
875 | 886 | | |
876 | 887 | | |
877 | | - | |
| 888 | + | |
878 | 889 | | |
879 | 890 | | |
880 | 891 | | |
881 | | - | |
882 | | - | |
| 892 | + | |
| 893 | + | |
883 | 894 | | |
884 | 895 | | |
885 | | - | |
886 | | - | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
887 | 901 | | |
888 | 902 | | |
889 | 903 | | |
| |||
0 commit comments