mirror of
https://github.com/alexpasmantier/television.git
synced 2025-06-06 19:45:23 +00:00
perf: only display the first 200 log entries when previewing git-repos
This commit is contained in:
parent
a2a264cc4d
commit
647e00ccd4
@ -46,7 +46,7 @@ impl Default for Channel {
|
|||||||
lazy_static! {
|
lazy_static! {
|
||||||
static ref PREVIEW_COMMAND: PreviewCommand = PreviewCommand {
|
static ref PREVIEW_COMMAND: PreviewCommand = PreviewCommand {
|
||||||
command: String::from(
|
command: String::from(
|
||||||
"cd {} && git log --pretty=medium --all --graph --color",
|
"cd {} && git log -n 200 --pretty=medium --all --graph --color",
|
||||||
),
|
),
|
||||||
delimiter: ":".to_string(),
|
delimiter: ":".to_string(),
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user