1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-24 05:28:18 +01:00
phorge-phorge/src/applications/differential/management
epriestley c12db28251 For changesets that affect binaries, use the new binary file content hash as an effect hash
Summary: Ref T13522. When changesets update an image, we currently compute no effect hash. A content hash of the image (or other binary file) is a reasonable effect hash, and enalbes effect-hash-based behavior, including hiding files in intradiffs.

Test Plan:
  - Created a revision affecting `cat.png` and `quack.txt` (currently, there must be 2+ changesets to trigger the hide logic).
  - Updated it with the exact same changes.
  - Viewed revision:
    - Saw the image renderered in the interdiff.
  - Applied patch.
  - Ran `bin/differential rebuild-changesets ...`.
  - Viewed revision:
    - Saw both changesets collapse as unchanged.

Maniphest Tasks: T13522

Differential Revision: https://secure.phabricator.com/D21174
2020-04-27 08:34:55 -07:00
..
PhabricatorDifferentialAttachCommitWorkflow.php Modularize content sources 2016-03-26 11:59:45 -07:00
PhabricatorDifferentialExtractWorkflow.php Move diff extraction from commits to a separate test with a CLI command 2016-01-08 09:22:37 -08:00
PhabricatorDifferentialManagementWorkflow.php Move diff extraction from commits to a separate test with a CLI command 2016-01-08 09:22:37 -08:00
PhabricatorDifferentialMigrateHunkWorkflow.php Add an "--auto" flag to "bin/differential migrate-hunk" 2018-04-16 12:27:26 -07:00
PhabricatorDifferentialRebuildChangesetsWorkflow.php For changesets that affect binaries, use the new binary file content hash as an effect hash 2020-04-27 08:34:55 -07:00