tarlatan
    Preparing search index...

    Function judgeSnapshot

    • The raw checks over a staged tree's entries (ls-tree -r, so no tree entries) and what was found at each path. Modes 100644 and 100755 need a regular file whose executable bit matches the mode and whose bytes have the entry's blob id; mode 120000 needs a symbolic link whose link text has it; any other mode, including a gitlink, is refused whatever is on disk. Lists every mismatch in tree order. An entry with no observation is a mismatch; observations for paths not in the tree are ignored.

      Parameters

      Returns SnapshotConsistent | SnapshotInconsistent