Expand description
Git operations and repository management.
Re-exports§
pub use amendment::AmendmentHandler;pub use commit::refine_message_scope;pub use commit::resolve_scope;pub use commit::CommitAnalysis;pub use commit::CommitAnalysisForAI;pub use commit::CommitInfo;pub use commit::CommitInfoForAI;pub use commit::FileDiffRef;pub use diff_split::split_by_file;pub use diff_split::split_file_by_hunk;pub use diff_split::FileDiff;pub use diff_split::HunkDiff;pub use main_branches::branches_containing;pub use main_branches::detect_main_branch_tips;pub use main_branches::MainBranchTip;pub use remote::RemoteInfo;pub use repository::GitRepository;
Modules§
- amendment
- Git commit amendment operations.
- commit
- Git commit operations and analysis.
- diff_
split - Per-file and per-hunk unified diff splitting.
- main_
branches - Detection of remote main-branch tips and commit containment.
- remote
- Git remote operations.
- repository
- Git repository operations.
- worktree_
rebase - Batch-rebase a repository’s worktrees onto its remote default branch, fetching the remote exactly once per repository (issue #1400).
Constants§
- FULL_
HASH_ LEN - Length of a full SHA-1 commit hash in hex characters.
- SHORT_
HASH_ LEN - Number of hex characters to show in abbreviated commit hashes.
Functions§
- resolve_
git_ binary - Resolves
git, preferring [GIT_BIN_ENV], then the first existing well-known absolute path, then baregitonPATH.