]> git.corax.cc Git - toolbox/commit
include/git: Add function for listing commits in a branch
authorMatthias Kruk <m@m10k.eu>
Wed, 12 Apr 2023 01:57:26 +0000 (10:57 +0900)
committerMatthias Kruk <m@m10k.eu>
Wed, 12 Apr 2023 02:07:31 +0000 (11:07 +0900)
commita70b4136bfcb33409343ac420672ed3be233dbb6
tree76b0943304d85ef9cdf08476f87185b6fad97021
parent291051e50721e1b016dd2e16cac889b34f0b3e5e
include/git: Add function for listing commits in a branch

When working with the history of git repositories, it would be
helpful to have a function that can be used to query the commits
in a branch.

This commit adds the git_branch_get_commits() function, which lists
the commit hash, date, and committer email address for each commit
of a branch.
docs/git.md
include/git.sh