Skip to content

Commit 6068ac8

Browse files
Martin von Zweigbergkgitster
authored andcommitted
completion: add missing configuration variables
Quite a few configuration variables have been added since 226b343 (completion: add missing configuration variables to _git_config(), 2009-05-03). Add these variables to the Bash completion script. Also remove the obsolete 'add.ignore-errors' and 'color.grep.external', as well as 'diff.renameLimit.', which never existed and rename the misspelled 'sendemail.aliasesfiletype'. Signed-off-by: Martin von Zweigbergk <martin.von.zweigbergk@gmail.com> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent f29db85 commit 6068ac8

File tree

1 file changed

+66
-4
lines changed

1 file changed

+66
-4
lines changed

contrib/completion/git-completion.bash

Lines changed: 66 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1864,30 +1864,50 @@ _git_config ()
18641864
;;
18651865
esac
18661866
__gitcomp "
1867-
add.ignore-errors
1867+
add.ignoreErrors
1868+
advice.commitBeforeMerge
1869+
advice.detachedHead
1870+
advice.implicitIdentity
1871+
advice.pushNonFastForward
1872+
advice.resolveConflict
1873+
advice.statusHints
18681874
alias.
1875+
am.keepcr
18691876
apply.ignorewhitespace
18701877
apply.whitespace
18711878
branch.autosetupmerge
18721879
branch.autosetuprebase
1880+
browser.
18731881
clean.requireForce
18741882
color.branch
18751883
color.branch.current
18761884
color.branch.local
18771885
color.branch.plain
18781886
color.branch.remote
1887+
color.decorate.HEAD
1888+
color.decorate.branch
1889+
color.decorate.remoteBranch
1890+
color.decorate.stash
1891+
color.decorate.tag
18791892
color.diff
18801893
color.diff.commit
18811894
color.diff.frag
1895+
color.diff.func
18821896
color.diff.meta
18831897
color.diff.new
18841898
color.diff.old
18851899
color.diff.plain
18861900
color.diff.whitespace
18871901
color.grep
1888-
color.grep.external
1902+
color.grep.context
1903+
color.grep.filename
1904+
color.grep.function
1905+
color.grep.linenumber
18891906
color.grep.match
1907+
color.grep.selected
1908+
color.grep.separator
18901909
color.interactive
1910+
color.interactive.error
18911911
color.interactive.header
18921912
color.interactive.help
18931913
color.interactive.prompt
@@ -1901,21 +1921,29 @@ _git_config ()
19011921
color.status.untracked
19021922
color.status.updated
19031923
color.ui
1924+
commit.status
19041925
commit.template
1926+
core.abbrevguard
1927+
core.askpass
1928+
core.attributesfile
19051929
core.autocrlf
19061930
core.bare
1931+
core.bigFileThreshold
19071932
core.compression
19081933
core.createObject
19091934
core.deltaBaseCacheLimit
19101935
core.editor
1936+
core.eol
19111937
core.excludesfile
19121938
core.fileMode
19131939
core.fsyncobjectfiles
19141940
core.gitProxy
19151941
core.ignoreCygwinFSTricks
19161942
core.ignoreStat
1943+
core.ignorecase
19171944
core.logAllRefUpdates
19181945
core.loosecompression
1946+
core.notesRef
19191947
core.packedGitLimit
19201948
core.packedGitWindowSize
19211949
core.pager
@@ -1925,22 +1953,25 @@ _git_config ()
19251953
core.repositoryFormatVersion
19261954
core.safecrlf
19271955
core.sharedRepository
1956+
core.sparseCheckout
19281957
core.symlinks
19291958
core.trustctime
19301959
core.warnAmbiguousRefs
19311960
core.whitespace
19321961
core.worktree
19331962
diff.autorefreshindex
19341963
diff.external
1964+
diff.ignoreSubmodules
19351965
diff.mnemonicprefix
1966+
diff.noprefix
19361967
diff.renameLimit
1937-
diff.renameLimit.
19381968
diff.renames
19391969
diff.suppressBlankEmpty
19401970
diff.tool
19411971
diff.wordRegex
19421972
difftool.
19431973
difftool.prompt
1974+
fetch.recurseSubmodules
19441975
fetch.unpackLimit
19451976
format.attach
19461977
format.cc
@@ -1952,6 +1983,8 @@ _git_config ()
19521983
format.subjectprefix
19531984
format.suffix
19541985
format.thread
1986+
format.to
1987+
gc.
19551988
gc.aggressiveWindow
19561989
gc.auto
19571990
gc.autopacklimit
@@ -1989,15 +2022,20 @@ _git_config ()
19892022
http.lowSpeedLimit
19902023
http.lowSpeedTime
19912024
http.maxRequests
2025+
http.minSessions
19922026
http.noEPSV
2027+
http.postBuffer
19932028
http.proxy
19942029
http.sslCAInfo
19952030
http.sslCAPath
19962031
http.sslCert
2032+
http.sslCertPasswordProtected
19972033
http.sslKey
19982034
http.sslVerify
2035+
http.useragent
19992036
i18n.commitEncoding
20002037
i18n.logOutputEncoding
2038+
imap.authMethod
20012039
imap.folder
20022040
imap.host
20032041
imap.pass
@@ -2006,26 +2044,37 @@ _git_config ()
20062044
imap.sslverify
20072045
imap.tunnel
20082046
imap.user
2047+
init.templatedir
20092048
instaweb.browser
20102049
instaweb.httpd
20112050
instaweb.local
20122051
instaweb.modulepath
20132052
instaweb.port
20142053
interactive.singlekey
20152054
log.date
2055+
log.decorate
20162056
log.showroot
20172057
mailmap.file
20182058
man.
20192059
man.viewer
2060+
merge.
20202061
merge.conflictstyle
20212062
merge.log
20222063
merge.renameLimit
2064+
merge.renormalize
20232065
merge.stat
20242066
merge.tool
20252067
merge.verbosity
20262068
mergetool.
20272069
mergetool.keepBackup
2070+
mergetool.keepTemporaries
20282071
mergetool.prompt
2072+
notes.displayRef
2073+
notes.rewrite.
2074+
notes.rewrite.amend
2075+
notes.rewrite.rebase
2076+
notes.rewriteMode
2077+
notes.rewriteRef
20292078
pack.compression
20302079
pack.deltaCacheLimit
20312080
pack.deltaCacheSize
@@ -2036,31 +2085,42 @@ _git_config ()
20362085
pack.window
20372086
pack.windowMemory
20382087
pager.
2088+
pretty.
20392089
pull.octopus
20402090
pull.twohead
20412091
push.default
2092+
rebase.autosquash
20422093
rebase.stat
2094+
receive.autogc
20432095
receive.denyCurrentBranch
2096+
receive.denyDeleteCurrent
20442097
receive.denyDeletes
20452098
receive.denyNonFastForwards
20462099
receive.fsckObjects
20472100
receive.unpackLimit
2101+
receive.updateserverinfo
2102+
remotes.
20482103
repack.usedeltabaseoffset
20492104
rerere.autoupdate
20502105
rerere.enabled
2106+
sendemail.
20512107
sendemail.aliasesfile
2052-
sendemail.aliasesfiletype
2108+
sendemail.aliasfiletype
20532109
sendemail.bcc
20542110
sendemail.cc
20552111
sendemail.cccmd
20562112
sendemail.chainreplyto
20572113
sendemail.confirm
20582114
sendemail.envelopesender
2115+
sendemail.from
2116+
sendemail.identity
20592117
sendemail.multiedit
20602118
sendemail.signedoffbycc
2119+
sendemail.smtpdomain
20612120
sendemail.smtpencryption
20622121
sendemail.smtppass
20632122
sendemail.smtpserver
2123+
sendemail.smtpserveroption
20642124
sendemail.smtpserverport
20652125
sendemail.smtpuser
20662126
sendemail.suppresscc
@@ -2071,6 +2131,8 @@ _git_config ()
20712131
showbranch.default
20722132
status.relativePaths
20732133
status.showUntrackedFiles
2134+
status.submodulesummary
2135+
submodule.
20742136
tar.umask
20752137
transfer.unpackLimit
20762138
url.

0 commit comments

Comments
 (0)