pub fn get_annotation_with_file_content(
repo: &dyn Repo,
starting_commit_id: &CommitId,
domain: &Rc<ResolvedRevsetExpression>,
file_path: &RepoPath,
starting_text: impl Into<Vec<u8>>,
) -> Result<FileAnnotation, RevsetEvaluationError>
Expand description
Get line by line annotations for a specific file path starting with the given content.
The file content at the starting_commit
is set to starting_text
. This is
typically one of the file contents in the conflict or merged-parent tree.
See get_annotation_for_file()
for the other arguments.