]> git.ipfire.org Git - thirdparty/git.git/commit
docs: replace git_config to repo_config
authorK Jayatheerth <jayatheerthkulkarni2005@gmail.com>
Sun, 18 May 2025 07:43:17 +0000 (13:13 +0530)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 May 2025 17:53:12 +0000 (10:53 -0700)
commit7649d316ce1b71911dce71fdffd843a71732b827
treeb89c419532c17a3fa10b49087bc01ea00c1a4dc4
parenta1dcf6b2897e34b684249e6a823221a063ae3910
docs: replace git_config to repo_config

Since this document was written, the built-in API has been
updated a few times, but the document was left stale.

Adjust to the current best practices by calling repo_config() on the
repository instance the subcommand implementation receives as a
parameter, instead of calling git_config() that used to be the
common practice.

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