@matheusbsbs / matheus-bagliano / commits / 505f297989
Fork 0

Add 'diffcore.h' to LIB_H

The diffcore.h header file is included by more than just the internal diff generation files, and needs to be part of the proper dependencies. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Linus Torvalds committed Oct 25, 2007 at 11:16 UTC 505f297989f4b1fc4c5cb5d0c94e783e385f8d6d
1 file changed +1 -2
Makefile
+1 -2
@@ -290,7 +290,7 @@ LIB_H = \
290 run-command.h strbuf.h tag.h tree.h git-compat-util.h revision.h \
291 tree-walk.h log-tree.h dir.h path-list.h unpack-trees.h builtin.h \
292 utf8.h reflog-walk.h patch-ids.h attr.h decorate.h progress.h \
293 - mailmap.h remote.h transport.h
293 + mailmap.h remote.h transport.h diffcore.h
294
295 DIFF_OBJS = \
296 diff.o diff-lib.o diffcore-break.o diffcore-order.o \
@@ -917,7 +917,6 @@ git-http-push$X: revision.o http.o http-push.o $(GITLIBS)
917
918 $(LIB_OBJS) $(BUILTIN_OBJS): $(LIB_H)
919 $(patsubst git-%$X,%.o,$(PROGRAMS)): $(LIB_H) $(wildcard */*.h)
920 -$(DIFF_OBJS): diffcore.h
920
921 $(LIB_FILE): $(LIB_OBJS)
922 $(QUIET_AR)$(RM) $@ && $(AR) rcs $@ $(LIB_OBJS)