[PATCH v2 4/5] check-docs: do not expect guide pages to correspond to commands
- From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Mar 25, 2019, 21:41 UTC
- Message-ID
- <1097be76787a9c73e82000dd7939580c5d980d70.1553550094.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.162.v2.git.gitgitgadget@gmail.com>
From: Johannes Schindelin <johannes.schindelin@gmx.de>
When we want to see what commands are listed in `command-list.txt` but not installed, we currently include lines that refer to guides, e.g. `gitattributes` or `gitcli`.
Let's not include those lines, as they are not referring to commands.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> --- Makefile | 1 + 1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile index 76904f07fe..c7b884cd38 100644 --- a/Makefile +++ b/Makefile @@ -3095,6 +3095,7 @@ check-docs:: ( \ sed -e '1,/^### command list/d' \ -e '/^#/d' \ + -e '/guide$$/d' \ -e 's/[ ].*//' \ -e 's/^/listed /' command-list.txt; \ $(MAKE) -C Documentation print-man1 | \
-- gitgitgadget