Skip to content

Commit 31cf4a6

Browse files
dschogitster
authored andcommitted
check-docs: do not bother checking for legacy scripts' documentation
In the recent years, there has been a big push to convert more and more of Git's commands that are implemented as scripts to built-ins written in pure, portable C, for robustness, speed and portability. One strategy that served us well is to convert those scripts incrementally, starting by renaming the scripts to `git-legacy-<command>`, then introducing a built-in that does nothing else at first than checking the config setting `<command>.useBuiltin` (which defaults to `false` at the outset) and handing off to the legacy script if so asked. Obviously, those `git-legacy-<command>` commands share the documentation with the built-in `git-<command>`, and are not intended to be called directly anyway. So let's not try to ensure that they are documented separately from their built-in versions. Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent faa7a09 commit 31cf4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3074,7 +3074,7 @@ check-docs::
30743074
git-merge-octopus | git-merge-ours | git-merge-recursive | \
30753075
git-merge-resolve | git-merge-subtree | \
30763076
git-fsck-objects | git-init-db | \
3077-
git-remote-* | git-stage | \
3077+
git-remote-* | git-stage | git-legacy-* | \
30783078
git-?*--?* ) continue ;; \
30793079
esac ; \
30803080
test -f "Documentation/$$v.txt" || \

0 commit comments

Comments
 (0)