OSDN Git Service

check-docs: list git-gui as a command
authorJeff King <peff@peff.net>
Wed, 8 Aug 2012 20:56:42 +0000 (16:56 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Aug 2012 21:31:41 +0000 (14:31 -0700)
git-gui is already documented and mentioned in command-list,
but adding it to the Makefile makes sure it is so. We also
add its alias git-citool (which is also documented).

As a result, we can drop them from the special case
statement that avoids them being listed as "documented but
does not exist".

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index 6ae868d..4b3c366 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2808,6 +2808,7 @@ ALL_COMMANDS = $(ALL_PROGRAMS) $(SCRIPT_LIB) $(BUILT_INS)
 ALL_COMMANDS += git
 ALL_COMMANDS += gitk
 ALL_COMMANDS += gitweb
+ALL_COMMANDS += git-gui git-citool
 check-docs::
        @(for v in $(ALL_COMMANDS); \
        do \
@@ -2837,8 +2838,6 @@ check-docs::
        ) | while read how cmd; \
        do \
                case "$$how,$$cmd" in \
-               *,git-citool | \
-               *,git-gui | \
                *,git-help | \
                documented,gitattributes | \
                documented,gitignore | \