feat(git): GitCore operations — open, status, diff, commit, branches, log #26
No reviewers
Labels
No labels
area:config
area:contracts
area:engine
area:eventsourcing
area:frontend
area:git
area:ipc
area:persistence
area:provider
area:scaffold
area:terminal
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/peon!26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "peon/8"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements GitCore, GitError, and GitManager for the git integration layer.
Changes
git/error.rs—GitErrorenum:RepoNotFound,BranchAlreadyExists,BranchNotFound,NothingToCommit,Git(git2::Error)git/core.rs—GitCorewith all 8 operations:open_repo,status,diff,commit,branches,log,create_branch,checkout_branchgit/manager.rs—GitManagercommand dispatcher with a stubGitCommandenum (to be wired to IPC #6)git/mod.rs— public re-exportstempfile+git2::Repository::initCloses #8