mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
![Manuel Boni](/assets/img/avatar_default.png)
Git config's tab completion does not yet know about the "include" and "includeIf" sections, nor the related "path" variable. Add a description for these two sections in 'Documentation/config/includeif.txt', which points to git-config's documentation, specifically the "Includes" and "Conditional Includes" subsections. As a side effect, tab completion can successfully complete the 'include', 'includeIf', and 'include.add' expressions. This effect is tested by two new ad-hoc tests. Variable completion only works for "include" for now. Credit for the ideas behind this patch goes to Ævar Arnfjörð Bjarmason. Helped-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Manuel Boni <ziosombrero@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
7 lines
258 B
Plaintext
7 lines
258 B
Plaintext
include.path::
|
|
includeIf.<condition>.path::
|
|
Special variables to include other configuration files. See
|
|
the "CONFIGURATION FILE" section in the main
|
|
linkgit:git-config[1] documentation,
|
|
specifically the "Includes" and "Conditional Includes" subsections.
|