The main sub-commands which have beeen coded in c are in the sub-directory
'git/builtin'.
Try one of the short ones such as 'write-tree.c' which shows the setting up of
the command line structure, and then goes and executes
ret = write_cache_as_tree(sha1, flags, prefix);
read-tree.c is a bit longer but also has the obvious #includes to "object.h"
It's a bit like peeling an onion - don't rub your eyes too soon ;-)
Philip
----- Original Message -----
From: [email protected]
To: [email protected]
Cc: [email protected] ; Philip Oakley
Sent: Sunday, June 16, 2013 4:57 PM
Subject: Re: [git-users] developers docs ?
Thanks - so a starting point would be git.c
Where are the data structures defined ? The "objects" ?
------------------------------------------------------------------------------
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3345 / Virus Database: 3199/6414 - Release Date: 06/15/13
--
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.