I wrote: > ChatGPT isn't going to run diff to generate a patch file. It is going > to produce a block of text that looks like one.
Greg wrote: > You can upload two text files and it will produce a unified diff (if > that's what you want). Or a side to side comparison. YMMV, but I doubt > you've tried. I don't doubt that ChatGPT can create a syntactically correct patch if you send it two files and the correct prompt. If, however, your prompt consists of something such as "Don't send me the whole file: just send a patch", well, that *might* work but it assumes that ChatGPT is a human programmer who fully understands the context. Mick: If I understand correctly ChatGPT sent you a modified version of a file you had sent it. Why don't you just run diff on those two files yourself? -- John Hasler [email protected] Elmwood, WI USA

