All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miklos Vajna <vmiklos@frugalware.org>
To: git@vger.kernel.org
Subject: Git call graph
Date: Sat, 12 Jul 2008 02:47:14 +0200	[thread overview]
Message-ID: <20080712004714.GL10347@genesis.frugalware.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 826 bytes --]

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. ;-)

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

             reply	other threads:[~2008-07-12  0:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-12  0:47 Miklos Vajna [this message]
     [not found] ` <7vd4ljj4u1.fsf@gitster.siamese.dyndns.org>
2008-07-12  1:27   ` Git call graph Miklos Vajna

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080712004714.GL10347@genesis.frugalware.org \
    --to=vmiklos@frugalware.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.