mirror of
https://github.com/go-gitea/gitea
synced 2025-11-05 05:48:13 +00:00
* Fix ParsePatch to work properly with quoted diff --git string Currently ParsePatch fails when a diff contains a quoted diff line like: diff --git "a/file" "b/file" This patch makes it properly parse the line when that happens. Fixes #6309 * Add test for regular case while here * Simplify string modification
21 KiB
21 KiB