git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[Newcomer] Question about inconsistencies in MyFirstContribution.adoc

From
soutrik das <valusoutrik@gmail.com>
Date
Feb 4, 2026, 10:45 UTC
Message-ID
<CAPHqhPmDSh8WRwYt0TJUQQajM5r84m6tc6RZsiM-YzeBbxzwaw@mail.gmail.com>

Hi everyone, Newcomer here, while going through the MyFirstContribution.adoc I noticed some small inconsistencies , which might not be a problem to anyone really, but since I was doubtful I am writing here.

> Add a line to #include "config.h" and #include"repository.h". Then, add the following bits to the function body: function body

And then the tutorial uses `git_default_config` , which I am assuming used to be in `config.h` but now it's in `environment.h`.

Another small thing was
> 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
But There is no api-config.adoc in ./Documentation/technical
I couldn't find any other place where the repo_config() was explained
, Inside the Documentation folder it has been mentioned in 4 files
- MyFirstContribution.adoc : excluding this
- MyFirstObjectWalk.adoc : excluding this as well
- user-manual.adoc : used to explain what `builtin/cat-file.c` was doing
- 2.50.0.adoc : is about a release ?
So I assume the thing that the tutorial refers to is currently not present ?

While writing this mail , I checked two previous Patch mails: One was about a patch by Arnav Kapoor ( https://lore.kernel.org/git/pull.1972.git.git.1748005233977.gitgitgadget@gmail.com/ ) another one was probably about rejecting this patch ? And then From this ( https://lore.kernel.org/git/xmqq8qmso59i.fsf@gitster.g/#t ) I am assuming repo-config used to be called git-config , but a search on git-config shows up too many matches , and I think i should stop here and ask for advice.

I believe this won't count as a microproject for gsoc , but nonetheless, it may or may not help newcomers. Is this a possible patch ?

Soutrik Das
Next: Shreyansh Paliwal
Message 1 of 2 in “[Newcomer] Question about inconsistencies in MyFirstContribution.adoc”
  1. soutrik dasFeb 4, 2026
  2. Shreyansh PaliwalFeb 4, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.