[PATCH] doc: fix repo_config documentation reference
- From
- Soutrik Das via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Feb 5, 2026, 12:03 UTC
- Message-ID
- <pull.2187.git.git.1770293021383.gitgitgadget@gmail.com>
From: SoutrikDas <valusoutrik@gmail.com>
Since documentation was moved from Documenation/ technical/api-config to inside the config.h This might help newcomers, by pointing them to the right place to get documentation about repo_config
Signed-off-by: SoutrikDas <valusoutrik@gmail.com>
---
doc: fix repo_config documentation referencePublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2187%2FSoutrikDas%2Fdoc-fix-myfirstcontribution-config-ref-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2187/SoutrikDas/doc-fix-myfirstcontribution-config-ref-v1 Pull-Request: https://github.com/git/git/pull/2187
Documentation/MyFirstContribution.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/MyFirstContribution.adoc b/Documentation/MyFirstContribution.adoc index f186dfbc89..92de476a7f 100644 --- a/Documentation/MyFirstContribution.adoc +++ b/Documentation/MyFirstContribution.adoc @@ -351,7 +351,7 @@ function body: apply standard precedence rules. `repo_config_get_string_tmp()` will look up a specific key ("user.name") and give you the value. There are a number of single-key lookup functions like this one; you can see them all (and more info -about how to use `repo_config()`) in `Documentation/technical/api-config.adoc`. +about how to use `repo_config()`) in `config.h`. You should see that the name printed matches the one you see when you run: base-commit: b2826b52eb7caff9f4ed6e85ec45e338bf02ad09
-- gitgitgadget