git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2] completions: add some missing options for git log

From
Mirko Faina <mroik@delayed.space>
Date
Nov 2, 2026, 21:47 UTC
Message-ID
<5735bacbd5c2c48eddafb43f75f7ddcdf402ff17.1793656021.git.mroik@delayed.space>
In-Reply-To
<63106e1dec45e82c7f132a18816b2d1fffb52752.1791921033.git.mroik@delayed.space>

Some options for "git log" are missing in bash-completions, --graph-lane-limit introduced in [1] and --[no-]graph-indent introduced in [2].

Teach bash-completions to autocomplete these options.

[1] f756a3c78d (graph: add --graph-lane-limit option, 2026-03-28) [2] e9b5720bef (graph: add --[no-]graph-indent and log.graphIndent, 2026-07-14)

Signed-off-by: Mirko Faina <mroik@delayed.space>
---
 contrib/completion/git-completion.bash | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index c3a49e2e22..eab6309a69 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2395,6 +2395,8 @@ __git_complete_log_opts ()
 			--cherry-mark
 			--cherry-pick
 			--graph
+			--graph-indent --no-graph-indent
+			--graph-lane-limit=
 			--decorate --decorate= --no-decorate
 			--walk-reflogs
 			--no-walk --no-walk= --do-walk

base-commit: 6de20f6092dcf9bdb1c8efe03db4b70c82b423dd
-- 
2.56.0
Previous: Toon ClaesNext: Toon Claes
Message 7 of 9 in “bash-completions: add --[no-]graph-indent”
  1. bash-completions: add --[no-]graph-indentMirko Faina, Oct 13, 2026
  2. Mirko FainaOct 29, 2026
  3. Pablo SabaterOct 29, 2026
  4. Ben KnobleOct 29, 2026
  5. Mirko FainaNov 2, 2026
  6. Toon ClaesNov 9, 2026
  7. completions: add some missing options for git logMirko Faina, Nov 2, 2026
  8. Toon ClaesNov 9, 2026
  9. Junio C HamanoNov 9, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.