Repository navigation
Releases
Releases · gitamix/git
v0.1.1
Added
- Parsing of the commit kind in
Commits(): every provided commit carries its kind —merge,revert, ordefault— available via thecommit.Commit.Kindfromtypes internal/commit/messagepackage with aParserthat classifies a commit message as a revert commit by theRevertsubject prefix or therevertsubject type
Changed
Commits()emits merge commits structurally by their parents via thegit rev-list --parentscommand
v0.1.0
Added
- Go module configuration for the project
- Base project template files, including
Makefileandgolangci-lintconfiguration errspackage with shared domain errors for empty commit hashes and failed git executionclient/gitpackage with a Git client to interact with Git repositories- Implemented
CommitMessage()to retrieve the commit message for a given commit hash - Implemented
Commits()to retrieve commits that come from the provided commit hash - Implemented
CurrentBranch()to retrieve the current branch with its name - Implemented
MergeBase()to retrieve the merge base commit hash between two branches or commits - Test fixtures and fake shell execution coverage for the Git client
- Integration tests run with a Docker container via testcontainers
- Added
AGENTS.mddocumentation for AI assistants workflow integration
Fixed
- Adjusted
golangci-lintconfiguration and enabled additional linters.