diff options
author | Teddy Wing | 2020-07-25 16:54:09 +0200 |
---|---|---|
committer | Teddy Wing | 2020-07-25 16:56:12 +0200 |
commit | fe0290e043cdaa533c071aa62eb922b4cf105625 (patch) | |
tree | 1912688218ac5b017942590cd8938aa4aacf5602 /src/main.rs | |
parent | d27d99084b58d19dc76443a03a0db445cbd9bcc7 (diff) | |
download | git-suggestion-fe0290e043cdaa533c071aa62eb922b4cf105625.tar.bz2 |
Suggestion.apply: Try writing to the original file
Haven't tested this yet.
To keep the original file's metadata, try writing the changes to the
original instead of the temporary file. First copy the original to a new
file that we can reference after truncating the original, then write the
change onto the original.
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions