Documentation
¶
Overview ¶
Package git reads commit history from a local repository.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangedFiles ¶
ChangedFiles returns the paths changed by sha, relative to the repo root. --root makes this correct for a commit with no parent (diffed against an empty tree) as well as any ordinary commit.
Types ¶
type Commit ¶
Commit is a single commit as read from git log, oldest fields only — callers parse Message themselves (see internal/commit).
Click to show internal directories.
Click to hide internal directories.