Skip to main content

log

Function log 

Source
pub fn log<'a>(
    commits_table: &'a CommitsTable,
    start_commit_id: &str,
    limit: usize,
) -> Vec<&'a Commit>
Expand description

Return the commit log for a branch: walk parent_ids from the given commit.

Returns commits in reverse chronological order (newest first). limit caps the number of commits returned (0 = unlimited).