Skip to main content

Module commit_no_change

Module commit_no_change 

Source
Expand description

The normalization-only transaction for a correction that removed every change. What: The normalization-only commit: a correction whose complete intended tree equals the recorded base ends without an empty commit, and says so. Why: The preparation (service_prepare.rs) decides it before anything is sent to the service; this module holds the finding’s identity and its message, so the words of the finding stay in one place (src/policy-engine/commit-transaction-no-change.ts).

In TS you’d write (pseudocode):

const message = noChangeMessage(conflicted);

Constants§

NO_CHANGE_CODE
The code of the no-change finding.
NO_CHANGE_CORE_ID
The core of the no-change finding.

Functions§

no_change_message
What: The message of the no-change finding. Why: Worktree copies that changed since are kept and named.