aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorTeddy Wing2020-07-25 16:54:09 +0200
committerTeddy Wing2020-07-25 16:56:12 +0200
commitfe0290e043cdaa533c071aa62eb922b4cf105625 (patch)
tree1912688218ac5b017942590cd8938aa4aacf5602 /src/main.rs
parentd27d99084b58d19dc76443a03a0db445cbd9bcc7 (diff)
downloadgit-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