o2sh
a3062f48db
bump cargo edition to 2024
1 month ago
o2sh
f013d5f567
Revert "read version from manifest first"
...
This reverts commit 2deedec26d .
2 months ago
o2sh
2deedec26d
read version from manifest first
2 months ago
o2sh
67c95a737b
fix cli test
2 months ago
o2sh
73300b60e3
increase default color resolution for sixel
2 months ago
Fedor Finenko
0ae82b3a1f
No unsafe ( #1646 )
2 months ago
o2sh
e3ce026a5b
fix comment spacing
2 months ago
o2sh
10603ae2e6
skip get main language call if no language detected
2 months ago
Filip Czaplicki
39d1147b6e
Remove clap-cargo. Change --help styling ( #1634 )
...
Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>
2 months ago
Filip Czaplicki
87d4d5aa5d
Add colors to --help ( #1633 )
2 months ago
o2sh
f3eb996665
cargo clippy
7 months ago
o2sh
886d942c51
remove duplication
8 months ago
Ossama Hjaji
c38a6b5516
Support repos "without source code" ( #1580 )
8 months ago
o2sh
dbb91b6e77
cargo clippy pedantic
8 months ago
o2sh
a12b1337a5
delay wait on loc computation
8 months ago
o2sh
837e2fef22
format error message
8 months ago
o2sh
3a985b8961
better var names in churn computation
8 months ago
Mehty
5a4aad751b
Improve error handling ( #1560 )
...
Co-authored-by: o2sh <ossama-hjaji@live.fr>
8 months ago
o2sh
248547c1c6
cargo clippy
9 months ago
dependabot[bot]
380b188832
Bump gix from 0.70.0 to 0.71.0 ( #1556 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: o2sh <ossama-hjaji@live.fr>
10 months ago
o2sh
04ae9299d1
change vue language type to markup
12 months ago
Ossama Hjaji
e0fd7fa94d
More idiomatic way to fetch repository remote URL ( #1516 )
1 year ago
o2sh
38a0bcdc13
cargo clippy
1 year ago
Ossama Hjaji
6a6c9fa62b
More idiomatic way to fetch HEAD refs ( #1515 )
1 year ago
o2sh
3a8ad24e08
simplify loc computation for markdown
1 year ago
dependabot[bot]
287571cafb
Bump the gix group with 2 updates ( #1446 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: o2sh <ossama-hjaji@live.fr>
1 year ago
Grace
6bf18079ec
Add support for nerd font glyphs in languages info ( #1395 )
...
Co-authored-by: Ossama Hjaji <ossama-hjaji@live.fr>
1 year ago
dependabot[bot]
19f77b2b2c
Bump gix from 0.64.0 to 0.66.0 in the gix group ( #1404 )
...
* `cargo update winnow`
* one API adaptation
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Thiel <sebastian.thiel@icloud.com>
1 year ago
Malte Tammena
61ab2982bd
show future commit dates without panicking ( #1389 )
1 year ago
Ossama Hjaji
1775cc1c32
exclude bot commits from churn when `--no-bots` option is used ( #1335 )
...
* init
* fix
* review
* early exit in is_bot_commit
2 years ago
Ossama Hjaji
2bc5aed55b
init ( #1340 )
2 years ago
Ossama Hjaji
2c76c06583
use Option<&T> instead of &Option<T> ( #1338 )
...
* init
* Update src/ui/mod.rs
Co-authored-by: Spenser Black <spenserblack01@gmail.com>
* Update src/ui/mod.rs
Co-authored-by: Spenser Black <spenserblack01@gmail.com>
---------
Co-authored-by: Spenser Black <spenserblack01@gmail.com>
2 years ago
Ossama Hjaji
8ef64d4a59
Add CLI flag to hide token from repository URL ( #1319 )
2 years ago
dependabot[bot]
3e40b97b42
Bump gix from 0.61.0 to 0.62.0 ( #1318 )
...
* Bump gix from 0.61.0 to 0.62.0
Bumps [gix](https://github.com/Byron/gitoxide ) from 0.61.0 to 0.62.0.
- [Release notes](https://github.com/Byron/gitoxide/releases )
- [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Byron/gitoxide/compare/gix-v0.61.0...gix-v0.62.0 )
---
updated-dependencies:
- dependency-name: gix
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix compilation
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Thiel <sebastian.thiel@icloud.com>
2 years ago
sammypotter
5000452d8b
add cli option --force-url-http for URL display ( #1314 )
...
* add cli option --force-url-http for URL display
* * rename force_url_http to http_url
* rename create_http_url to create_http_url_from_ssh
* add test for create_http_url_from_ssh
* rust fmt
---------
Co-authored-by: o2sh <ossama-hjaji@live.fr>
2 years ago
Nettifani
8c1ad744c4
Fix churn thread deadlock ( #1316 )
2 years ago
o2sh
2e48f9ea31
refacto pending info
2 years ago
Sebastian Thiel
8fcaf08269
Conclude `gitoxide` to `git2` transition ( #1285 )
...
* Switch to latest version of `gitoxide` for status support
* Use `gitoxide` for obtaining status information
* Remove `git2` as it's not used anymore
2 years ago
o2sh
e6c7c45e82
cargo clippy
2 years ago
dependabot[bot]
1131d39600
Bump gix from 0.55.2 to 0.56.0 ( #1229 )
...
* Bump gix from 0.55.2 to 0.56.0
Bumps [gix](https://github.com/Byron/gitoxide ) from 0.55.2 to 0.56.0.
- [Release notes](https://github.com/Byron/gitoxide/releases )
- [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Byron/gitoxide/compare/gix-v0.55.2...gix-v0.56.0 )
---
updated-dependencies:
- dependency-name: gix
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* fixup! Bump gix from 0.55.2 to 0.56.0
* cargo fmt
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Spenser Black <spenserblack01@gmail.com>
Co-authored-by: o2sh <ossama-hjaji@live.fr>
2 years ago
o2sh
4174cc998c
limit fractional part in size
2 years ago
o2sh
d928657c11
remove comment
2 years ago
dependabot[bot]
4a5da46691
Bump byte-unit from 4.0.19 to 5.0.3 ( #1220 )
...
* Bump byte-unit from 4.0.19 to 5.0.3
Bumps [byte-unit](https://github.com/magiclen/byte-unit ) from 4.0.19 to 5.0.3.
- [Commits](https://github.com/magiclen/byte-unit/compare/v4.0.19...v5.0.3 )
---
updated-dependencies:
- dependency-name: byte-unit
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix
* bump
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: o2sh <ossama-hjaji@live.fr>
2 years ago
Ossama Hjaji
f1905dcaf4
Refactoring git metrics module ( #1217 )
...
* refacot
* add break line
2 years ago
o2sh
5a4b9b2254
fix snapshot test
2 years ago
o2sh
bee580c5ad
rename author module
2 years ago
o2sh
7dd97115b6
move get_style and format_number in utils
2 years ago
o2sh
ba08584aa6
add unit tests for digit_difference
2 years ago
Spenser Black
3186493e39
Refactor and test info field styling ( #1214 )
...
* Refactor: move info writing logic to `InfoField`
This moves the bulk of the logic for writing styled info into the
`InfoField` trait as a provided set of methods. This makes each type
that implements `InfoField` more testable.
* Convert author value tests to styled snapshot tests
2 years ago
Luke Hsiao
b1cf0299c6
Right align authorship percentages ( #1207 )
...
This patch right-aligns the percentages for authorship to make them
easier to visually compare.
Before:
Authors: 53% Ossama Hjaji 1212
21% dependabot[bot] 485
4% Spenser Black 88
After:
Authors: 53% Ossama Hjaji 1212
21% dependabot[bot] 485
4% Spenser Black 88
Tested: Cargo test all passes. Also added a new test that checks
alignment in a simple case, and tested that the output looks as
intended locally.
Signed-off-by: Luke Hsiao <luke.hsiao@numbersstation.ai>
2 years ago