git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/6] t/helper: keep test-tool command list sorted

From
Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date
Sep 9, 2018, 17:36 UTC
Message-ID
<20180909173631.1446-2-pclouds@gmail.com>
In-Reply-To
<20180909173631.1446-1-pclouds@gmail.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 Makefile             | 2 +-
 t/helper/test-tool.c | 2 +-
 t/helper/test-tool.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 5a969f5830..1208584fa1 100644
--- a/Makefile
+++ b/Makefile
@@ -729,8 +729,8 @@ TEST_BUILTINS_OBJS += test-repository.o
 TEST_BUILTINS_OBJS += test-revision-walking.o
 TEST_BUILTINS_OBJS += test-run-command.o
 TEST_BUILTINS_OBJS += test-scrap-cache-tree.o
-TEST_BUILTINS_OBJS += test-sha1-array.o
 TEST_BUILTINS_OBJS += test-sha1.o
+TEST_BUILTINS_OBJS += test-sha1-array.o
 TEST_BUILTINS_OBJS += test-sigchain.o
 TEST_BUILTINS_OBJS += test-strcmp-offset.o
 TEST_BUILTINS_OBJS += test-string-list.o
diff --git a/t/helper/test-tool.c b/t/helper/test-tool.c
index 0edafcfd65..79e03eecb5 100644
--- a/t/helper/test-tool.c
+++ b/t/helper/test-tool.c
@@ -34,8 +34,8 @@ static struct test_cmd cmds[] = {
 	{ "revision-walking", cmd__revision_walking },
 	{ "run-command", cmd__run_command },
 	{ "scrap-cache-tree", cmd__scrap_cache_tree },
-	{ "sha1-array", cmd__sha1_array },
 	{ "sha1", cmd__sha1 },
+	{ "sha1-array", cmd__sha1_array },
 	{ "sigchain", cmd__sigchain },
 	{ "strcmp-offset", cmd__strcmp_offset },
 	{ "string-list", cmd__string_list },
diff --git a/t/helper/test-tool.h b/t/helper/test-tool.h
index e954e8c522..4b7212827a 100644
--- a/t/helper/test-tool.h
+++ b/t/helper/test-tool.h
@@ -30,8 +30,8 @@ int cmd__repository(int argc, const char **argv);
 int cmd__revision_walking(int argc, const char **argv);
 int cmd__run_command(int argc, const char **argv);
 int cmd__scrap_cache_tree(int argc, const char **argv);
-int cmd__sha1_array(int argc, const char **argv);
 int cmd__sha1(int argc, const char **argv);
+int cmd__sha1_array(int argc, const char **argv);
 int cmd__sigchain(int argc, const char **argv);
 int cmd__strcmp_offset(int argc, const char **argv);
 int cmd__string_list(int argc, const char **argv);
-- 
2.19.0.rc0.337.ge906d732e7
Previous: Nguyễn Thái Ngọc DuyNext: brian m. carlson
Message 2 of 10 in “Merge remaining t/helper binaries to test-tool”
  1. 0/6 Merge remaining t/helper binaries to test-toolNguyễn Thái Ngọc Duy, Sep 9, 2018
  2. 1/6 t/helper: keep test-tool command list sortedNguyễn Thái Ngọc Duy, Sep 9, 2018
  3. brian m. carlsonSep 9, 2018
  4. 2/6 t/helper: merge test-dump-untracked-cache into test-toolNguyễn Thái Ngọc Duy, Sep 9, 2018
  5. 3/6 t/helper: merge test-pkt-line into test-toolNguyễn Thái Ngọc Duy, Sep 9, 2018
  6. 4/6 t/helper: merge test-parse-options into test-toolNguyễn Thái Ngọc Duy, Sep 9, 2018
  7. 5/6 t/helper: merge test-dump-fsmonitor into test-toolNguyễn Thái Ngọc Duy, Sep 9, 2018
  8. 6/6 Makefile: add a hint about TEST_BUILTINS_OBJSNguyễn Thái Ngọc Duy, Sep 9, 2018
  9. Ævar Arnfjörð BjarmasonSep 9, 2018
  10. Duy NguyenSep 9, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.