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

Git call graph

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Jul 12, 2008, 00:47 UTC
Message-ID
<20080712004714.GL10347@genesis.frugalware.org>
Hi,

I just did this for fun, if you are busy, you can stop reading now, this mail is not about anything important. :-)

I thought it would worth a try to make a graph about git calls, when a script calls an other git program. I tracked two types of calls:

- when a bultin calls an other builtin (like git reset calls
  git read-tree)
- when a script calls a builtin (like git merge-resolve calls
  git write-tree)
Here is the result:
http://vmiklos.hu/pic/git-call-graph.png

The code that was used to generate the graph is available at the 'graph' branch of git://repo.or.cz/git/vmiklos.git.

If you check out that branch, you can simply type 'make' to generate the picture, or you can read some minimal documentation (README).

And now I should stop playing with it, in fact it took much more time than I expected. ;-)

Next: Miklos Vajna
Message 1 of 2 in “Git call graph”
  1. Miklos VajnaJul 12, 2008
  2. Miklos VajnaJul 12, 2008

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.