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

Re: [GSoC][Patch] Does it have developer documentation?

From
Lucas Seiki Oshiro <lucasseikioshiro@gmail.com>
Date
Mar 2, 2025, 16:16 UTC
Message-ID
<C748EB41-1F8A-4B67-B809-623D4104F78A@gmail.com>
In-Reply-To
<SEZPR01MB5486585EF47B99A59C7E9F4DA3CE2@SEZPR01MB5486.apcprd01.prod.exchangelabs.com>
> Does git have developer documentation like haiku os, where you can quickly read the source code and know what this part or this function does.

Git's Git history is very descriptive and the commits are themselves a good documentation. If the function description is not enough, you can inspect the commits related to that function/piece of code using git blame or git log.

For example, I randomly picked the function `handle_path_include` from `config.c`. We can check the history of that function using:

`git log -L :handle_path_include:config.c`

I described more this kind of search here: https://lucasoshiro.github.io/posts-en/2023-02-13-git-debug/

I hope that it helps you!
Previous: li li
Message 2 of 2 in “Does it have developer documentation?”
  1. li liMar 2, 2025
  2. Lucas Seiki OshiroMar 2, 2025

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.