Interface DiffTarget

All Known Implementing Classes:
DiffTarget.OfCommit, DiffTarget.Staged, DiffTarget.Unstaged, DiffTarget.WorkingTree

What to compare when asking for the diff of a file.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    What a commit changed compared with its first parent (for a root commit: everything is added).
    static final record 
    The staged changes: HEAD against the index (what the next commit will contain).
    static final record 
    The unstaged changes: the index against the working tree.
    static final record 
    The uncommitted changes: HEAD against the working tree (staged and unstaged together).