Skip to content

Commit d5b2e13

Browse files
committed
Merge branch 'main' into feature/clap
2 parents 22b9c02 + 3c15a67 commit d5b2e13

File tree

3 files changed

+24
-26
lines changed

3 files changed

+24
-26
lines changed

Cargo.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
[package]
2+
categories = ["command-line-utilities"]
3+
description = "Gets the time somebody worked on something from `git log`."
4+
edition = "2021"
5+
keywords = ["cli", "git", "summary", "time"]
6+
license = "MIT"
27
name = "commit-analyzer"
8+
repository = "https://github.com/wert007/commit-analyzer"
39
version = "0.1.0"
4-
edition = "2021"
5-
6-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
710

811
[dependencies]
9-
chrono = "*"
10-
clap = { version = "*", features = ["derive"] }
11-
sysexits = "*"
12+
chrono = "0.4.19"
13+
clap = { version = "3.2.5", features = ["derive"] }
14+
sysexits = "0.3.0"

README.md

+11-16
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Commit Analyzer
22

3+
## Summary
4+
5+
Gets the time somebody worked on something from `git log`.
6+
7+
## License
8+
9+
This project's license is **MIT** and can be found in `LICENSE` in the main
10+
directory of this repository.
11+
312
## Description
413

514
This is a simple tool which grabs the output of `git log --numstat` and analyzes
@@ -22,11 +31,6 @@ commit-analyzer --git --output commits-and-loc-by-date.csv
2231
commit-analyzer --input git.log --output commits-and-loc-by-date.csv
2332
```
2433

25-
## License
26-
27-
This project's license is **MIT** and can be found in `LICENSE` in the main
28-
directory of this repository.
29-
3034
## Configured Options
3135

3236
| Option | Brief | Meaning |
@@ -62,14 +66,5 @@ cargo install --git https://github.com/wert007/commit-analyzer
6266
```
6367

6468
This command will install a release compilation of the latest version locally to
65-
your user account.
66-
67-
In order to install the latest updates, rerun with `--force`:
68-
69-
```
70-
cargo install --force --git https://github.com/wert007/commit-analyzer
71-
```
72-
73-
Cargo will then replace the currently installed release binary with a newly
74-
compiled one from the latest repository state using the configured release
75-
profile.
69+
your user account. The same command also works for regular updates, this is, new
70+
commits have had been introduced since the last installation.

0 commit comments

Comments
 (0)