mirror of
https://github.com/git/git.git
synced 2026-02-25 17:33:34 +00:00
doc: fix repo_config documentation reference
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>
This commit is contained in:
committed by
Junio C Hamano
parent
67ad42147a
commit
c44b3f3203
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user