Skip to content

Commit 5d14258

Browse files
pcloudsgitster
authored andcommitted
Makefile: add missing dependency for command-list.h
Commit 3ac68a9 (help: add --config to list all available config - 2018-05-26) makes generate-cmdlist.sh adds a new input source config.txt but it's not a Makefile dependency. Any changes in config.txt will not trigger command-list.h regeneration and the config list in this file becomes outdated. Correct the dependency. Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f22f682 commit 5d14258

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
@@ -2028,7 +2028,7 @@ $(BUILT_INS): git$X
20282028

20292029
command-list.h: generate-cmdlist.sh command-list.txt
20302030

2031-
command-list.h: $(wildcard Documentation/git*.txt)
2031+
command-list.h: $(wildcard Documentation/git*.txt) Documentation/config.txt
20322032
$(QUIET_GEN)$(SHELL_PATH) ./generate-cmdlist.sh command-list.txt >$@+ && mv $@+ $@
20332033

20342034
SCRIPT_DEFINES = $(SHELL_PATH_SQ):$(DIFF_SQ):$(GIT_VERSION):\

0 commit comments

Comments
 (0)