`Doc::commit` used `git2::Signature::now` when committing the document to the repository. This results in the commits always changing and not allowing us to test outputs of our CLI commands that would wish to output the SHA. Make `Doc::commit` reproducible in debug mode using `debug_assertions` and checking the `RAD_COMMIT_TIME` environment variable. Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||