Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Something that wasn't addressed: when is the configuration read? Does this happen on every command-line git command execution? (I'm guessing "yes", but...)


Yes. Git doesn't daemonize, so there's no way it can avoid reading its configuration every time you run a command. Ultimately what the command ends up doing likely takes orders of magnitude longer than reading and parsing the config file, so it's not really a big deal.


This is how git works, it's just an exe, so it must work like that I think.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: