git-historian

Crates.iogit-historian
lib.rsgit-historian
version0.4.0
sourcesrc
created_at2016-11-13 05:31:11.124873
updated_at2017-03-04 01:25:57.078958
descriptionGit 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
repositoryhttps://github.com/mrkline/git-historian
max_upload_size
id7231
size38,979
Matt Kline (mrkline)

documentation

https://docs.rs/git-historian

README

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.

Why?

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).

How?

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.

Why Rust?

Because it's awesome (and I wanted to try it out for a Realâ„¢ project).

Commit count: 45

cargo fmt