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

[PATCH 2/6] completion: Add git config core completions

From
Rikard Falkeborn <rikard.falkeborn@gmail.com>
Date
May 27, 2017, 06:25 UTC
Message-ID
<20170527062552.13996-3-rikard.falkeborn@gmail.com>
In-Reply-To
<20170527062552.13996-1-rikard.falkeborn@gmail.com>
Add missing completions for git config core:
* core.checkStat
* core.commentChar
* core.hideDotFiles
* core.hooksPath
* core.packedRefsTimeout
* core.precomposeUnicode
* core.protectHFS
* core.protectNTFS
* core.splitIndex
* core.sshCommand

Note that some configs are only used for some platforms (hideDotFiles on Windows and precomposeUnicode on Mac).

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
---
 contrib/completion/git-completion.bash | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 4e5e2eaae..de9306173 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2403,6 +2403,8 @@ _git_config ()
 		core.autocrlf
 		core.bare
 		core.bigFileThreshold
+		core.checkStat
+		core.commentChar
 		core.compression
 		core.createObject
 		core.deltaBaseCacheLimit
@@ -2412,6 +2414,8 @@ _git_config ()
 		core.fileMode
 		core.fsyncobjectfiles
 		core.gitProxy
+		core.hideDotFiles
+		core.hooksPath
 		core.ignoreStat
 		core.ignorecase
 		core.logAllRefUpdates
@@ -2419,14 +2423,20 @@ _git_config ()
 		core.notesRef
 		core.packedGitLimit
 		core.packedGitWindowSize
+		core.packedRefsTimeout
 		core.pager
+		core.precomposeUnicode
 		core.preferSymlinkRefs
 		core.preloadindex
+		core.protectHFS
+		core.protectNTFS
 		core.quotepath
 		core.repositoryFormatVersion
 		core.safecrlf
 		core.sharedRepository
 		core.sparseCheckout
+		core.splitIndex
+		core.sshCommand
 		core.symlinks
 		core.trustctime
 		core.untrackedCache
-- 
2.13.0
Previous: Rikard FalkebornNext: Rikard Falkeborn
Message 2 of 10 in “Some more git config completions”
  1. 0/6 Some more git config completionsRikard Falkeborn, May 27, 2017
  2. 2/6 completion: Add git config core completionsRikard Falkeborn, May 27, 2017
  3. 1/6 completion: Add git config gc completionsRikard Falkeborn, May 27, 2017
  4. 4/6 completion: Add git config advice completionsRikard Falkeborn, May 27, 2017
  5. 6/6 completion: Add git config credentialCache.ignoreSIGHUPRikard Falkeborn, May 27, 2017
  6. 3/6 completion: Add git config am.threeWay completionRikard Falkeborn, May 27, 2017
  7. 5/6 completion: Add git config credential completionsRikard Falkeborn, May 27, 2017
  8. Ævar Arnfjörð BjarmasonJun 1, 2017
  9. Junio C HamanoJun 2, 2017
  10. SZEDER GáborJun 4, 2017

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.