From 9174026cfe69d73ef80b27890615f8b2ef5c265a Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sat, 9 Apr 2005 13:00:54 -0700 Subject: 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. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3