Documentation: don't hardcode command categories twice
commite7a9807a627772f795d5105be497fd648611bc70
authorJunio C Hamano <gitster@pobox.com>
Wed, 5 Aug 2020 01:19:06 +0000 (5 01:19 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Aug 2020 01:34:02 +0000 (4 18:34 -0700)
treeb6e368157ee18b05ef1b8ddfa53eb604b13a0017
parent0371a764d2db05e13a87bc1fc16600a1a576e9fe
Documentation: don't hardcode command categories twice

Instead of hard-coding the list of command categories in both
`Documentation/Makefile` and `Documentation/cmd-list.perl`, make the
Makefile the authoritative source and tweak `cmd-list.perl` so that it
receives the list of command categories as argument.

Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/Makefile
Documentation/cmd-list.perl