Git fork

config: remove unused `the_repository` wrappers

Remove the last couple of wrapper functions that implicitly depend on
`the_repository`.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

authored by

Patrick Steinhardt and committed by
Junio C Hamano
00271bb3 a538250d

-28
-28
config.h
··· 718 718 lookup_config(mapping, ARRAY_SIZE(mapping), var) 719 719 int lookup_config(const char **mapping, int nr_mapping, const char *var); 720 720 721 - # ifdef USE_THE_REPOSITORY_VARIABLE 722 - static inline int git_config_get_bool_or_int(const char *key, int *is_bool, int *dest) 723 - { 724 - return repo_config_get_bool_or_int(the_repository, key, is_bool, dest); 725 - } 726 - 727 - static inline int git_config_get_maybe_bool(const char *key, int *dest) 728 - { 729 - return repo_config_get_maybe_bool(the_repository, key, dest); 730 - } 731 - 732 - static inline int git_config_get_pathname(const char *key, char **dest) 733 - { 734 - return repo_config_get_pathname(the_repository, key, dest); 735 - } 736 - 737 - static inline void git_config_set_multivar_in_file( 738 - const char *config_filename, 739 - const char *key, 740 - const char *value, 741 - const char *value_pattern, 742 - unsigned flags) 743 - { 744 - repo_config_set_multivar_in_file(the_repository, config_filename, 745 - key, value, value_pattern, flags); 746 - } 747 - # endif /* USE_THE_REPOSITORY_VARIABLE */ 748 - 749 721 #endif /* CONFIG_H */