Skip to content

Commit 0cead6a

Browse files
committed
Restrict git commit history to 1000
Part of #260160
1 parent 4baaa60 commit 0cead6a

File tree

1 file changed

+1
-1
lines changed
  • extensions/terminal-suggest/src/completions

1 file changed

+1
-1
lines changed

extensions/terminal-suggest/src/completions/git.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const postProcessBranches =
129129
export const gitGenerators: Record<string, Fig.Generator> = {
130130
// Commit history
131131
commits: {
132-
script: ["git", "--no-optional-locks", "log", "--oneline"],
132+
script: ["git", "--no-optional-locks", "log", "--oneline", "-n", "1000"],
133133
postProcess: function (out) {
134134
const output = filterMessages(out);
135135

0 commit comments

Comments
 (0)