File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -298,11 +298,15 @@ This goal of this project is to make configuration work as follows:
298
298
appropriate data structure in memory.
299
299
300
300
* Change ` git_config() ` to iterate through the pre-read values in
301
- memory rather than re-reading the configuration files.
301
+ memory rather than re-reading the configuration files. This
302
+ function should remain backwards-compatible with the old
303
+ implementation so that callers don't have to all be rewritten at
304
+ once.
302
305
303
- * Add new API calls that allow the cache to be inquired easily and
304
- efficiently. Rewrite other functions like ` git_config_int() ` to be
305
- cache-aware.
306
+ * Add new API functions that allow the cache to be inquired easily and
307
+ efficiently. Add helper functions to retrieve configuration values
308
+ of various types (string, integer, boolean, etc.) from the cache by
309
+ name.
306
310
307
311
* Rewrite callers to use the new API wherever possible.
308
312
@@ -311,8 +315,10 @@ like `git_config_early()` and `git_config_from_file()`, as well as how
311
315
to invalidate the cache correctly in the case that the configuration
312
316
is changed while ` git ` is executing.
313
317
314
- See
315
- [ this mailing list thread] ( http://article.gmane.org/gmane.comp.version-control.git/242952 )
318
+ See [ this mailing list
319
+ thread] ( http://article.gmane.org/gmane.comp.version-control.git/242952 )
320
+ and [ this
321
+ email] ( http://article.gmane.org/gmane.comp.version-control.git/243542 )
316
322
for some discussion about this and related ideas.
317
323
318
324
- Language: C
You can’t perform that action at this time.
0 commit comments