aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-04-25 18:22:47 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-25 18:22:47 -0700
commit86436c28289eedd2ee9b7f9c872a0ed039866a0f (patch)
tree780ecf60c2d10084ab26758c093319d0c6c86480 /Makefile
parentab7df1874d87d3f7494397442e67e900b580a346 (diff)
downloadgit-86436c28289eedd2ee9b7f9c872a0ed039866a0f.tar.gz
[PATCH] Split external diff command interface to a separate file.
With this patch, the non-core'ish part of show-diff command that invokes an external "diff" comand to obtain patches is split into a separate file. The next patch will introduce a new command, diff-tree-helper, which uses this common diff interface to format diff-tree and diff-cache output into a patch form. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 10d041b51f..e108b98e63 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,9 @@ LIB_OBJS=read-cache.o sha1_file.o usage.o object.o commit.o tree.o blob.o
LIB_FILE=libgit.a
LIB_H=cache.h object.h
+LIB_H += diff.h
+LIB_OBJS += diff.o
+
LIBS = $(LIB_FILE)
LIBS += -lz
@@ -67,6 +70,7 @@ checkout-cache.o: $(LIB_H)
commit.o: $(LIB_H)
commit-tree.o: $(LIB_H)
convert-cache.o: $(LIB_H)
+diff.o: $(LIB_H)
diff-cache.o: $(LIB_H)
diff-tree.o: $(LIB_H)
fsck-cache.o: $(LIB_H)