Skip to main content

commit_window

Function commit_window 

Source
pub fn commit_window(
    repo: &Path,
    default: &str,
    branch: &str,
) -> Result<(DateTime<Utc>, DateTime<Utc>)>
Expand description

Time window of the branch-exclusive commits.

Used to filter out AI sessions that predate the branch work.

§Errors

Returns Err if git fails or if there are no commits on the branch.