Skip to contentSkip to conversation

help: reword explanation line for developer interfaces

PATCH In review Fangyi Zhou via GitGitGadget 2 participants 2 messages Sep 16, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 help: reword explanation line for developer interfaces

From: Fangyi Zhou <[email protected]>

---
help: reword explanation line for developer interfaces

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1330%2Ffangyi-zhou%2Fhelp-doc-fix-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1330/fangyi-zhou/help-doc-fix-v1
Pull-Request: https://github.com/git/git/pull/1330

 help.c          | 2 +-
 t/t0012-help.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
help.c +1 -1
index ec670d5f68b..d04542d8261 100644
@@ -39,7 +39,7 @@ static struct category_description main_categories[] = {
 	{ CAT_synchingrepositories, N_("Low-level Commands / Syncing Repositories") },
 	{ CAT_purehelpers, N_("Low-level Commands / Internal Helpers") },
 	{ CAT_userinterfaces, N_("User-facing repository, command and file interfaces") },
-	{ CAT_developerinterfaces, N_("Developer-facing file file formats, protocols and interfaces") },
+	{ CAT_developerinterfaces, N_("Developer-facing file formats, protocols and other interfaces") },
 	{ 0, NULL }
 };
 
t/t0012-help.sh +1 -1
index 4ed2f242eb2..dbfc5c82676 100755
@@ -231,7 +231,7 @@ test_expect_success "'git help -a' section spacing" '
 
 	User-facing repository, command and file interfaces
 
-	Developer-facing file file formats, protocols and interfaces
+	Developer-facing file formats, protocols and other interfaces
 	EOF
 	test_cmp expect actual
 '

base-commit: d3fa443f97e3a8d75b51341e2d5bac380b7422df

Signature · 1 line
gitgitgadget
#1 lore raw

help.c static struct category_description main_categories[] = { · line 42

Quoted 10 lines · Fangyi Zhou via GitGitGadget

From: Fangyi Zhou <[email protected]>

---
help: reword explanation line for developer interfaces

help.c +1 -1
-	{ CAT_developerinterfaces, N_("Developer-facing file file formats, protocols and interfaces") },
+	{ CAT_developerinterfaces, N_("Developer-facing file formats, protocols and other interfaces") },

Yuck. Thanks for catching this.

Quoted 8 lines
help.c +0 -0
 	{ 0, NULL }
 };
t/t0012-help.sh +0 -0
index 4ed2f242eb2..dbfc5c82676 100755

t/t0012-help.sh test_expect_success "'git help -a' section spacing" ' · line 235

Quoted 6 lines
t/t0012-help.sh +1 -1
@@ -231,7 +231,7 @@ test_expect_success "'git help -a' section spacing" '
 
 	User-facing repository, command and file interfaces
 
-	Developer-facing file file formats, protocols and interfaces
+	Developer-facing file formats, protocols and other interfaces
 	EOF

Apparently the writer of the test was not doing a good job; and of course the reviewers, too X-.

These all came from 844739ba (git docs: add a category for file formats, protocols and interfaces, 2022-08-04), as a part of a large series.

Will queue.