diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-03-24 07:44:34 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-27 15:45:47 (GMT) |
commit | 0e2678af4c90f0cb28d04cb87f2a71ea2ec47f5d (patch) | |
tree | 7e949ddcd220e5e67a3ce72254b7fbba0970ab87 /t/helper/test-config.c | |
parent | 64eb82fea8fbfe96e02997921283f6ffa368f5fe (diff) | |
download | git-0e2678af4c90f0cb28d04cb87f2a71ea2ec47f5d.zip git-0e2678af4c90f0cb28d04cb87f2a71ea2ec47f5d.tar.gz git-0e2678af4c90f0cb28d04cb87f2a71ea2ec47f5d.tar.bz2 |
t/helper: merge test-config into test-tool
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-config.c')
-rw-r--r-- | t/helper/test-config.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/t/helper/test-config.c b/t/helper/test-config.c index 1a7b8bd..214003d 100644 --- a/t/helper/test-config.c +++ b/t/helper/test-config.c @@ -1,3 +1,4 @@ +#include "test-tool.h" #include "cache.h" #include "config.h" #include "string-list.h" @@ -32,7 +33,7 @@ * Examples: * * To print the value with highest priority for key "foo.bAr Baz.rock": - * test-config get_value "foo.bAr Baz.rock" + * test-tool config get_value "foo.bAr Baz.rock" * */ @@ -77,7 +78,7 @@ static int early_config_cb(const char *var, const char *value, void *vdata) return 0; } -int cmd_main(int argc, const char **argv) +int cmd__config(int argc, const char **argv) { int i, val; const char *v; |