Documentation ¶
Index ¶
- func CompareBranch(repo *git.Repository, baseBranch string, branch string, directory string) ([]*object.Commit, []*object.Commit, error)
- func FormatMessage(c *object.Commit, firstLinePrefix string, nextLinesPrefix string, ...) string
- func LoadOrClone(repoURL string, directory string, remoteName string, skipFetch bool) (*git.Repository, error)
- type DiffCommitBranch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareBranch ¶
func CompareBranch(repo *git.Repository, baseBranch string, branch string, directory string) ([]*object.Commit, []*object.Commit, error)
CompareBranch lists the commits ahead and behind of a targetBranch compared to a baseBranch
Types ¶
Click to show internal directories.
Click to hide internal directories.