aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorTeddy Wing2020-07-21 01:27:37 +0200
committerTeddy Wing2020-07-21 01:32:41 +0200
commit1e883be33f61818e941dd2a147ce1bba85d178ce (patch)
treee002fea57732f01644a9e9a662d2dfbd94b84c91 /src/main.rs
parentd65b1ab87e4d3dbd7bf7ade653dd64dc5b715368 (diff)
downloadgit-suggestion-1e883be33f61818e941dd2a147ce1bba85d178ce.tar.bz2
Suggesstion: Implement `patch` to generate a patch for the suggestion
Still working on it, but have an initial draft working. There's no file name in the diff hunk, so I'm assuming I'm going to have to add one later. Build a patch from the diff hunk and suggestion comment. 1. Remove `-` lines 2. Change `+` lines to ` ` 3. Change last line to `-` 4. Append suggestion to the diff with a `+` prefix
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions