1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-01 17:38:24 +01:00
phorge-phorge/src
epriestley f5b3528a26 (stable) Fix an issue where added or removed source files could incorrectly select a DocumentEngine
Summary:
Ref T13425. The changes in D20865 could incorrectly lead to selection of a DocumentEngine that can not generate document diffs if a file was added or removed (for example, when a source file is added).

Move the engine pruning code to be shared -- we should always discard engines which can't generate a diff, even if we don't have both documents.

Test Plan: Viewed an added source file, no more document ref error arising from document engine selection.

Maniphest Tasks: T13425

Differential Revision: https://secure.phabricator.com/D20866
2019-10-26 12:17:09 -07:00
..
__tests__ Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
aphront Make HTTP/403 say "Yikes!" 2019-09-30 09:27:39 -07:00
applications (stable) Fix an issue where added or removed source files could incorrectly select a DocumentEngine 2019-10-26 12:17:09 -07:00
docs Add an "{anchor #xyz}" rule to Remarkup 2019-09-24 11:04:19 -07:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure (stable) Promote 2019 Week 39 2019-09-30 11:08:34 -07:00
view Fix deprecated argument order for "implode()" 2019-10-17 09:11:27 -07:00
__phutil_library_init__.php Delete license headers from files 2012-11-05 11:16:51 -08:00
__phutil_library_map__.php Add default branch, description, and metrics (commit count, recent commit) to "diffusion.repository.search" 2019-10-24 17:16:58 -07:00