summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/sergi/go-diff/diffmatchpatch/diff.go
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-08-23 14:58:09 +0100
committerGitHub <noreply@github.com>2020-08-23 16:58:09 +0300
commit4a548a033210ff8265a93a5292a847ff4b3abe31 (patch)
tree390861cf139c1a835a412d91f4e5b8f8c613c7d9 /vendor/github.com/sergi/go-diff/diffmatchpatch/diff.go
parent8bf2ee1e02316237e12e47c8c95f3b234e6803b9 (diff)
downloadgitea-4a548a033210ff8265a93a5292a847ff4b3abe31.tar.gz
gitea-4a548a033210ff8265a93a5292a847ff4b3abe31.zip
Fix diff path unquoting (#12554) (#12575)
Backport #12554 * Fix diff path unquoting services/gitdiff/gitdiff.go whereby there it assumed that the path would always be quoted on both sides This PR simplifies the code here and uses fmt.Fscanf to parse the strings as necessary. Fix #12546 Signed-off-by: Andrew Thornton <art27@cantab.net> * Add testcase as per @mrsdizzie Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'vendor/github.com/sergi/go-diff/diffmatchpatch/diff.go')
0 files changed, 0 insertions, 0 deletions