]> git.ipfire.org Git - thirdparty/git.git/commitdiff
doc: fix repo_config documentation reference
authorSoutrikDas <valusoutrik@gmail.com>
Fri, 6 Feb 2026 06:21:08 +0000 (11:51 +0530)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Feb 2026 16:32:13 +0000 (08:32 -0800)
In MyFirstContribution.adoc, the link to the repo_config()
documentation is invalid because the related documentation was moved
to a different file.

Replace the path for the repo_config() documentation from
'Documentation/technical/api-config.h' to 'config.h'.

Signed-off-by: SoutrikDas <valusoutrik@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/MyFirstContribution.adoc

index f186dfbc898fd4a15996dbb77133985af6ac7de2..92de476a7f69897471f2052116040c9f8977ad1b 100644 (file)
@@ -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: