1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright (c) 2026 - present Nicholas D. Crosbie
// SPDX-License-Identifier: MIT
//! hindsight-git: Git log processing for hindsight-mcp
//!
//! This library crate provides functionality to parse and process git logs
//! for consumption by the hindsight-mcp server.
//! # Example
//!
//! ```no_run
//! use hindsight_git::{GitRepo, WalkOptions};
//!
//! let repo = GitRepo::open(".").expect("open repo");
//! let commits = repo.walk_commits(&WalkOptions::latest(10).with_diff())
//! .expect("walk commits");
//!
//! for c in commits {
//! println!("{} - {}", c.commit.short_sha(), c.commit.subject());
//! }
//! ```
pub use Commit;
pub use GitError;
pub use ;
/// Re-export commonly used types