Skip to main content

Crate ag_git

Crate ag_git 

Source
Expand description

Reusable git, worktree, sync, rebase, and squash-merge orchestration.

Structs§

RealGitClient
Production GitClient implementation backed by real git commands.

Enums§

GitError
Re-exported typed error for git infrastructure operations. Typed error returned by git infrastructure operations.
InProgressGitOperation
Git operation metadata that marks a worktree as unsafe for branch pushes.
PullRebaseResult
Result of attempting git pull --rebase.
RebaseStepResult
Result of attempting a rebase step.
SingleCommitMessageStrategy
Controls how single-commit session branches treat the commit message when amending HEAD.
SquashMergeOutcome
Outcome of attempting a squash merge operation.

Traits§

GitClient
Low-level async git boundary used by app orchestration code.

Type Aliases§

BranchTrackingMap
Map of local branch names to their ahead/behind counts relative to their tracked upstream branch. None indicates no upstream or a gone upstream.
GitFuture
Boxed async result used by GitClient trait methods.