help: reword explanation line for developer interfaces
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
@@ -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
@@ -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
help.c static struct category_description main_categories[] = { · line 42
Quoted 10 lines · Fangyi Zhou via GitGitGadget
From: Fangyi Zhou <[email protected]>
Signed-off-by Fangyi Zhou <[email protected]>---
help: reword explanation line for developer interfacesSigned-off-by Fangyi Zhou [email protected]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
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.