mirror of
https://github.com/go-gitea/gitea
synced 2024-11-16 15:14:24 +00:00
4a548a0332
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> |
||
---|---|---|
.. | ||
testdata/academic-module | ||
gitdiff_test.go | ||
gitdiff.go | ||
main_test.go |