Class Candidate.HeadCandidate

  • Enclosing class:
    Candidate

    static final class Candidate.HeadCandidate
    extends Candidate
    A Candidate to blame a working tree file in conflict state.

    Contrary to Candidate.BlobCandidate, it expects to be given the parent commits (typically HEAD and the MERGE_HEADs) and behaves like a merge commit during blame. It does not consider a previously pushed Candidate as its parent.