Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-10 00:00:54 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-10 00:00:54 +0400
commit9174026cfe69d73ef80b27890615f8b2ef5c265a (patch)
treed4a96ba891017d0d26c15e509b4e6515e40d75ee /Makefile
parent79517a067a293ddf19867e363f0d9237c7ef8e22 (diff)
Add "diff-tree" program to show which files have changed between two trees.
Very useful for creating diffs efficiently, and in general to see what has changed in the namespace.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 42479f0bc2..d09390c00b 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CFLAGS=-g -O3 -Wall
CC=gcc
PROG= update-cache show-diff init-db write-tree read-tree commit-tree \
- cat-file fsck-cache checkout-cache
+ cat-file fsck-cache checkout-cache diff-tree
all: $(PROG)
@@ -37,6 +37,9 @@ fsck-cache: fsck-cache.o read-cache.o
checkout-cache: checkout-cache.o read-cache.o
$(CC) $(CFLAGS) -o checkout-cache checkout-cache.o read-cache.o $(LIBS)
+diff-tree: diff-tree.o read-cache.o
+ $(CC) $(CFLAGS) -o diff-tree diff-tree.o read-cache.o $(LIBS)
+
read-cache.o: cache.h
show-diff.o: cache.h