aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/git-sugpatch.rs
diff options
context:
space:
mode:
authorTeddy Wing2020-07-26 19:23:33 +0200
committerTeddy Wing2020-07-26 19:23:33 +0200
commit8c6a6c99ec88780ce1e1aa2bf235be8fb4777bb7 (patch)
tree8609cb222b9b8a6e99c2da5beb727b6a7d2f529b /src/bin/git-sugpatch.rs
parent260a9e90717d9b3040129f32cd9a83803f48780f (diff)
downloadgit-suggestion-8c6a6c99ec88780ce1e1aa2bf235be8fb4777bb7.tar.bz2
Suggestion.apply_to(): Change `from` to be `BufRead`
Take a `BufRead`er instead of a file path to read from. This gives us more flexibility. We can't use the `Read` trait because of the error described in b4a7561ccc1ed7dab6cd2c786902dec8c4ad9be6. Fix the bug in `Suggestion.diff()` so that the suggestion is applied to the commit it corresponds to instead of HEAD.
Diffstat (limited to 'src/bin/git-sugpatch.rs')
0 files changed, 0 insertions, 0 deletions