[PATCH 0/7] Rewrite `git_config()` using config-set API
- From
Tanay Abhra <tanayabh@gmail.com>
- Date
- Jul 23, 2014, 18:42 UTC
- Message-ID
- <1406140978-9472-1-git-send-email-tanayabh@gmail.com>
This series builds on the top of 5def4132 (ta/config-set) in pu or topic[1] in the mailing list with name "git config cache & special querying API utilizing the cache".
This series aims to do these three things,
* Use the config-set API to rewrite git_config().
* Solve any legacy bugs in the previous system while at it.
* To be feature complete compared to the previous git_config() implementation, which I think it is now. (added the line number and file name info just for completeness)
Also, I haven't yet checked the exact improvements but still as a teaser, git status now only rereads the configuration files twice instead of four times.
[1]: http://thread.gmane.org/gmane.comp.version-control.git/253862
Tanay Abhra (7):
Documentation/technical/api-config.txt | 5 ++ cache.h | 1 + config.c | 93 +++++++++++++++++++++++++++++++--- t/t1308-config-set.sh | 17 +++++++ test-config.c | 10 ++++ userdiff.c | 14 ++++- 6 files changed, 131 insertions(+), 9 deletions(-)
-- 1.9.0.GIT