* [GSoC] Inquiry about writing config file to disk
@ 2014-03-20 17:25 Tanay Abhra
2014-03-21 5:19 ` Jeff King
0 siblings, 1 reply; 2+ messages in thread
From: Tanay Abhra @ 2014-03-20 17:25 UTC (permalink / raw)
To: git
Hi,
I have gone through commit.c, builtin/commit.c and api-config.txt but one
thing I cannot find is which functions handle writing config file to disk
after adding a new variable,value pair(for example git config my.option
true) . It is also marked TODO on the api-config.txt file. Can somebody help
me , I just want the starting function and will trace the function calls
after that.
Regards,
Tanay Abhra.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GSoC] Inquiry about writing config file to disk
2014-03-20 17:25 [GSoC] Inquiry about writing config file to disk Tanay Abhra
@ 2014-03-21 5:19 ` Jeff King
0 siblings, 0 replies; 2+ messages in thread
From: Jeff King @ 2014-03-21 5:19 UTC (permalink / raw)
To: Tanay Abhra; +Cc: git
On Thu, Mar 20, 2014 at 05:25:22PM +0000, Tanay Abhra wrote:
> I have gone through commit.c, builtin/commit.c and api-config.txt but one
> thing I cannot find is which functions handle writing config file to disk
> after adding a new variable,value pair(for example git config my.option
> true) . It is also marked TODO on the api-config.txt file. Can somebody help
> me , I just want the starting function and will trace the function calls
> after that.
Try starting in cmd_config (in builtin/config.c), the main entry point
for running "git config", and you should be able to trace it from there.
The main logic ends up in the git_config_set_* functions.
-Peff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-21 5:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-20 17:25 [GSoC] Inquiry about writing config file to disk Tanay Abhra
2014-03-21 5:19 ` Jeff King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).