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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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!




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux