Junio C Hamano [off-list ref] wrote:
Junio C Hamano [off-list ref] writes:
quoted
One thing I forgot to mention.
Sorry, but there was another. With this merged, doc-lint seems to
fail and breaks 'seen'.
...
LINT DOCSTYLE includes/cmd-config-section-all.adoc
no link: gittutorial-2
gmake[1]: *** [Makefile:537: lint-docs-manpages] Error 1
gmake[1]: Leaving directory '/home/gitster/w/buildfarm/seen/Documentation'
gmake: *** [Makefile:4003: check-docs] Error 2
If we want to build gittutorial-2(7) as a manpage stub but to hide it in `git
help --guides`, we can squelch that linter error with a merge-fix:
diff --git a/Documentation/lint-manpages.sh b/Documentation/lint-manpages.sh
index d4a1977ba6..db2a54116d 100755
--- a/Documentation/lint-manpages.sh
+++ b/Documentation/lint-manpages.sh
@@ -32,6 +32,7 @@ check_missing_docs () (
git-legacy-*) continue;;
git-?*--?* ) continue ;;
gitweb.conf) continue ;;
+ gittutorial-2) continue ;;
esac
if ! test -f "$v.adoc"