Skip to main content

document_from_stages

Function document_from_stages 

Source
pub fn document_from_stages(
    repo: &RepoRef,
    entry: ConflictEntry,
    raws: [Option<RawStage>; 3],
) -> Result<MergeDocument>
Expand description

The part of merge_document after the stages are read, and the label reader, shared with Git2Backend (which reads the stages natively). The part of merge_document after the stages are read, and the label reader, shared with Git2Backend (which reads the stages natively). The part of merge_document after the stages are read, and the label reader, shared with Git2Backend (which reads the stages natively). Everything after the stages are read, shared with Git2Backend (which reads them natively): runs git’s 3-way merge on them, reads the labels and the file on disk, and assembles the document.