Skip to content

Commit 487da9c

Browse files
jrngitster
authored andcommitted
Makefile: add missing header file dependencies
When the streaming filter API was introduced in v1.7.7-rc0~60^2~7 (2011-05-20), we forgot to add its header to LIB_H. Most translation units depend on streaming.h via cache.h. v1.7.5-rc0~48 (Fix sparse warnings, 2011-03-22) introduced undeclared dependencies by url.o on url.h and thread-utils.o on thread-utils.h. Noticed by make CHECK_HEADER_DEPENDENCIES=1. Signed-off-by: Jonathan Nieder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d4d5ab4 commit 487da9c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,7 @@ LIB_H += compat/win32/pthread.h
521521
LIB_H += compat/win32/syslog.h
522522
LIB_H += compat/win32/sys/poll.h
523523
LIB_H += compat/win32/dirent.h
524+
LIB_H += convert.h
524525
LIB_H += csum-file.h
525526
LIB_H += decorate.h
526527
LIB_H += delta.h
@@ -1998,13 +1999,13 @@ builtin/branch.o builtin/checkout.o builtin/clone.o builtin/reset.o branch.o tra
19981999
builtin/bundle.o bundle.o transport.o: bundle.h
19992000
builtin/bisect--helper.o builtin/rev-list.o bisect.o: bisect.h
20002001
builtin/clone.o builtin/fetch-pack.o transport.o: fetch-pack.h
2001-
builtin/grep.o builtin/pack-objects.o transport-helper.o: thread-utils.h
2002+
builtin/grep.o builtin/pack-objects.o transport-helper.o thread-utils.o: thread-utils.h
20022003
builtin/send-pack.o transport.o: send-pack.h
20032004
builtin/log.o builtin/shortlog.o: shortlog.h
20042005
builtin/prune.o builtin/reflog.o reachable.o: reachable.h
20052006
builtin/commit.o builtin/revert.o wt-status.o: wt-status.h
20062007
builtin/tar-tree.o archive-tar.o: tar.h
2007-
connect.o transport.o http-backend.o: url.h
2008+
connect.o transport.o url.o http-backend.o: url.h
20082009
http-fetch.o http-walker.o remote-curl.o transport.o walker.o: walker.h
20092010
http.o http-walker.o http-push.o http-fetch.o remote-curl.o: http.h url.h
20102011

0 commit comments

Comments
 (0)