Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add tests for `git_config_get_string_const()`ta/config-set-1 | Tanay Abhra | 2014-08-07 | 1 | -0/+10 |
| | | | | | | | | | | Add tests for `git_config_get_string_const()`, check whether it dies printing the line number and the file name if a NULL value is retrieved for the given key. Signed-off-by: Tanay Abhra <tanayabh@gmail.com> Reviewed-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com> | ||||
* | test-config: add tests for the config_set API | Tanay Abhra | 2014-07-29 | 1 | -0/+142 |
Expose the `config_set` C API as a set of simple commands in order to facilitate testing. Add tests for the `config_set` API as well as for `git_config_get_*()` family for the usual config files. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Tanay Abhra <tanayabh@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> |