Volume XXII, number 280Wednesday, October 7, 2026Latest message 4 hours ago

The Git List

News and archive of git@vger.kernel.org, since April 2005

patchbash-completions: add --max-count-oldest

2 messages between Jun 10, 2026 and Jun 10, 2026, from Mirko Faina, Junio C Hamano.

Plain Markdown or JSON for tools and agents. Diffs are folded; open one to read it.

Mirko FainaJun 10, 2026, 14:38 UTC on lore
Add missing completion for log --max-count-oldest
Signed-off-by: Mirko Faina <mroik@delayed.space>
---
 Unfortunately I forgot to add bash completions.
 This is built upon 1ff279f340 (The 13th batch, 2026-06-09) with
 jch/mf/revision-max-count-oldest bb4ce23284 (revision.c: implement
 --max-count-oldest, 2026-05-19) merged into it.
 contrib/completion/git-completion.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to contrib/completion/git-completion.bash +1 −1
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index a8e7c6ddbf..e875787710 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2195,7 +2195,7 @@ __git_log_common_options="
 	--not --all
 	--branches --tags --remotes
 	--first-parent --merges --no-merges
-	--max-count=
+	--max-count= --max-count-oldest=
 	--max-age= --since= --after=
 	--min-age= --until= --before=
 	--min-parents= --max-parents=
-- 
2.54.0.505.ga804828a04
Junio C HamanoJun 10, 2026, 17:08 UTC in reply to Mirko Faina on lore

Re: [PATCH] bash-completions: add --max-count-oldest

Mirko Faina <mroik@delayed.space> writes:
Show 5 quoted lines
> Add missing completion for log --max-count-oldest
>
> Signed-off-by: Mirko Faina <mroik@delayed.space>
> ---
>  Unfortunately I forgot to add bash completions.

That's fine. I think it is OK to add a new patch on top of that series.

Back to recent threads