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>
Martin von Zweigbergk committed
Dec 20, 2010 at 16:18 UTC
6068ac88488f01400eae5c063d8e4a08e9d87f74
1 file changed
+66
-4
contrib/completion/git-completion.bash
+66
-4
@@ -1864,30 +1864,50 @@ _git_config ()
1864
;;
1865
esac
1866
__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
1874
alias.
1875
+ am.keepcr
1876
apply.ignorewhitespace
1877
apply.whitespace
1878
branch.autosetupmerge
1879
branch.autosetuprebase
1880
+ browser.
1881
clean.requireForce
1882
color.branch
1883
color.branch.current
1884
color.branch.local
1885
color.branch.plain
1886
color.branch.remote
1887
+ color.decorate.HEAD
1888
+ color.decorate.branch
1889
+ color.decorate.remoteBranch
1890
+ color.decorate.stash
1891
+ color.decorate.tag
1892
color.diff
1893
color.diff.commit
1894
color.diff.frag
1895
+ color.diff.func
1896
color.diff.meta
1897
color.diff.new
1898
color.diff.old
1899
color.diff.plain
1900
color.diff.whitespace
1901
color.grep
1888
- color.grep.external
1902
+ color.grep.context
1903
+ color.grep.filename
1904
+ color.grep.function
1905
+ color.grep.linenumber
1906
color.grep.match
1907
+ color.grep.selected
1908
+ color.grep.separator
1909
color.interactive
1910
+ color.interactive.error
1911
color.interactive.header
1912
color.interactive.help
1913
color.interactive.prompt
@@ -1901,21 +1921,29 @@ _git_config ()
1921
color.status.untracked
1922
color.status.updated
1923
color.ui
1924
+ commit.status
1925
commit.template
1926
+ core.abbrevguard
1927
+ core.askpass
1928
+ core.attributesfile
1929
core.autocrlf
1930
core.bare
1931
+ core.bigFileThreshold
1932
core.compression
1933
core.createObject
1934
core.deltaBaseCacheLimit
1935
core.editor
1936
+ core.eol
1937
core.excludesfile
1938
core.fileMode
1939
core.fsyncobjectfiles
1940
core.gitProxy
1941
core.ignoreCygwinFSTricks
1942
core.ignoreStat
1943
+ core.ignorecase
1944
core.logAllRefUpdates
1945
core.loosecompression
1946
+ core.notesRef
1947
core.packedGitLimit
1948
core.packedGitWindowSize
1949
core.pager
@@ -1925,6 +1953,7 @@ _git_config ()
1953
core.repositoryFormatVersion
1954
core.safecrlf
1955
core.sharedRepository
1956
+ core.sparseCheckout
1957
core.symlinks
1958
core.trustctime
1959
core.warnAmbiguousRefs
@@ -1932,15 +1961,17 @@ _git_config ()
1961
core.worktree
1962
diff.autorefreshindex
1963
diff.external
1964
+ diff.ignoreSubmodules
1965
diff.mnemonicprefix
1966
+ diff.noprefix
1967
diff.renameLimit
1937
- diff.renameLimit.
1968
diff.renames
1969
diff.suppressBlankEmpty
1970
diff.tool
1971
diff.wordRegex
1972
difftool.
1973
difftool.prompt
1974
+ fetch.recurseSubmodules
1975
fetch.unpackLimit
1976
format.attach
1977
format.cc
@@ -1952,6 +1983,8 @@ _git_config ()
1983
format.subjectprefix
1984
format.suffix
1985
format.thread
1986
+ format.to
1987
+ gc.
1988
gc.aggressiveWindow
1989
gc.auto
1990
gc.autopacklimit
@@ -1989,15 +2022,20 @@ _git_config ()
2022
http.lowSpeedLimit
2023
http.lowSpeedTime
2024
http.maxRequests
2025
+ http.minSessions
2026
http.noEPSV
2027
+ http.postBuffer
2028
http.proxy
2029
http.sslCAInfo
2030
http.sslCAPath
2031
http.sslCert
2032
+ http.sslCertPasswordProtected
2033
http.sslKey
2034
http.sslVerify
2035
+ http.useragent
2036
i18n.commitEncoding
2037
i18n.logOutputEncoding
2038
+ imap.authMethod
2039
imap.folder
2040
imap.host
2041
imap.pass
@@ -2006,6 +2044,7 @@ _git_config ()
2044
imap.sslverify
2045
imap.tunnel
2046
imap.user
2047
+ init.templatedir
2048
instaweb.browser
2049
instaweb.httpd
2050
instaweb.local
@@ -2013,19 +2052,29 @@ _git_config ()
2052
instaweb.port
2053
interactive.singlekey
2054
log.date
2055
+ log.decorate
2056
log.showroot
2057
mailmap.file
2058
man.
2059
man.viewer
2060
+ merge.
2061
merge.conflictstyle
2062
merge.log
2063
merge.renameLimit
2064
+ merge.renormalize
2065
merge.stat
2066
merge.tool
2067
merge.verbosity
2068
mergetool.
2069
mergetool.keepBackup
2070
+ mergetool.keepTemporaries
2071
mergetool.prompt
2072
+ notes.displayRef
2073
+ notes.rewrite.
2074
+ notes.rewrite.amend
2075
+ notes.rewrite.rebase
2076
+ notes.rewriteMode
2077
+ notes.rewriteRef
2078
pack.compression
2079
pack.deltaCacheLimit
2080
pack.deltaCacheSize
@@ -2036,31 +2085,42 @@ _git_config ()
2085
pack.window
2086
pack.windowMemory
2087
pager.
2088
+ pretty.
2089
pull.octopus
2090
pull.twohead
2091
push.default
2092
+ rebase.autosquash
2093
rebase.stat
2094
+ receive.autogc
2095
receive.denyCurrentBranch
2096
+ receive.denyDeleteCurrent
2097
receive.denyDeletes
2098
receive.denyNonFastForwards
2099
receive.fsckObjects
2100
receive.unpackLimit
2101
+ receive.updateserverinfo
2102
+ remotes.
2103
repack.usedeltabaseoffset
2104
rerere.autoupdate
2105
rerere.enabled
2106
+ sendemail.
2107
sendemail.aliasesfile
2052
- sendemail.aliasesfiletype
2108
+ sendemail.aliasfiletype
2109
sendemail.bcc
2110
sendemail.cc
2111
sendemail.cccmd
2112
sendemail.chainreplyto
2113
sendemail.confirm
2114
sendemail.envelopesender
2115
+ sendemail.from
2116
+ sendemail.identity
2117
sendemail.multiedit
2118
sendemail.signedoffbycc
2119
+ sendemail.smtpdomain
2120
sendemail.smtpencryption
2121
sendemail.smtppass
2122
sendemail.smtpserver
2123
+ sendemail.smtpserveroption
2124
sendemail.smtpserverport
2125
sendemail.smtpuser
2126
sendemail.suppresscc
@@ -2071,6 +2131,8 @@ _git_config ()
2131
showbranch.default
2132
status.relativePaths
2133
status.showUntrackedFiles
2134
+ status.submodulesummary
2135
+ submodule.
2136
tar.umask
2137
transfer.unpackLimit
2138
url.