Skip to content

Commit

Permalink
perf: only display the first 200 log entries when previewing git-repos (
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpasmantier authored Jan 7, 2025
1 parent a2a264c commit 072ecdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/television-channels/src/channels/git_repos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl Default for Channel {
lazy_static! {
static ref PREVIEW_COMMAND: PreviewCommand = PreviewCommand {
command: String::from(
"cd {} && git log --pretty=medium --all --graph --color",
"cd {} && git log -n 200 --pretty=medium --all --graph --color",
),
delimiter: ":".to_string(),
};
Expand Down

0 comments on commit 072ecdb

Please sign in to comment.