Skip to content

Commit 5fff552

Browse files
committed
Mild improvements to look of verbose log
However, still a long way to go
1 parent 0cc1bf2 commit 5fff552

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

Diff for: Cargo.lock

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

Diff for: src/plumbing/lean.rs

+8-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,14 @@ fn prepare(verbose: bool, name: &str) -> (prodash::line::JoinHandle, progress::D
5959

6060
let progress = prodash::Tree::new();
6161
let sub_progress = progress.add_child(name);
62-
let handle = prodash::line::render(stderr(), progress, prodash::line::Options::default());
62+
let handle = prodash::line::render(
63+
stderr(),
64+
progress,
65+
prodash::line::Options {
66+
level_filter: Some(std::ops::RangeInclusive::new(2, 2)),
67+
..prodash::line::Options::default()
68+
},
69+
);
6370
(
6471
handle,
6572
progress::DoOrDiscard::from(if verbose { Some(sub_progress) } else { None }),

Diff for: tasks.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
* [x] lean + small
88
* [x] `--version|-v` option
99
* **progress**
10-
* [ ] one-line progress indicator, maybe implemented in prodash (similar to what `git` does when receiving)
11-
* [ ] in Termion
12-
* [ ] in crossterm
10+
* [x] one-line progress indicator, maybe implemented in prodash (similar to what `git` does when receiving)
11+
* [x] in Termion
12+
* [x] in crossterm
1313
* **initial release**
1414
* [ ] use 'main' instead of 'master' by default during repo-init
1515
* **pack**

0 commit comments

Comments
 (0)