summaryrefslogtreecommitdiff
path: root/t/helper/test-run-command.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-03-24 07:44:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-27 15:45:47 (GMT)
commitae6a51f5a1c1bcc241543ee4da5cad4504bd8798 (patch)
tree148b9c8a48a681a2ce0a2ce3cd5c929f94734898 /t/helper/test-run-command.c
parent77d4b8c8328c4a95f20b03b422020cf3af4b0e63 (diff)
downloadgit-ae6a51f5a1c1bcc241543ee4da5cad4504bd8798.zip
git-ae6a51f5a1c1bcc241543ee4da5cad4504bd8798.tar.gz
git-ae6a51f5a1c1bcc241543ee4da5cad4504bd8798.tar.bz2
t/helper: merge test-run-command 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-run-command.c')
-rw-r--r--t/helper/test-run-command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-run-command.c b/t/helper/test-run-command.c
index 153342e..2cc93bb 100644
--- a/t/helper/test-run-command.c
+++ b/t/helper/test-run-command.c
@@ -8,6 +8,7 @@
* published by the Free Software Foundation.
*/
+#include "test-tool.h"
#include "git-compat-util.h"
#include "run-command.h"
#include "argv-array.h"
@@ -49,7 +50,7 @@ static int task_finished(int result,
return 1;
}
-int cmd_main(int argc, const char **argv)
+int cmd__run_command(int argc, const char **argv)
{
struct child_process proc = CHILD_PROCESS_INIT;
int jobs;