Crates.io | git-historian |
lib.rs | git-historian |
version | 0.4.0 |
source | src |
created_at | 2016-11-13 05:31:11.124873 |
updated_at | 2017-03-04 01:25:57.078958 |
description | Git Historian allows you to collect arbitrary data about a file at each point in its Git history. Think of it as "git log --follow" for every file in a repo, all at once. |
homepage | |
repository | https://github.com/mrkline/git-historian |
max_upload_size | |
id | 7231 |
size | 38,979 |
Git Historian allows you to collect arbitrary data about a file at each point in its Git history.
Think of it as git log --follow
for every file in a repo, all at once.
It can be useful for automating tasks that require knowledge of a file's history, e.g., updating each source file's copyright header with the years during which the file was modified (because Legal said so).
The library gathers commit info by parsing the output of git log --name-status
,
then builds a tree of the history of all files we care about.
See parsing.rs
and history.rs
for details.
Because it's awesome (and I wanted to try it out for a Realâ„¢ project).