Avoid allocating a `Patch` just to check if there are no edits

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
e668ff8bcdAntonio Scandurra committed on 12/1/2021, 3:47:04 PMparent853b636
1 file changedLine totals unavailable