mirror of
https://github.com/go-gitea/gitea
synced 2025-11-05 13:58:12 +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
5.3 KiB
5.3 KiB