diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-09 13:00:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-09 13:00:54 -0700 |
commit | 9174026cfe69d73ef80b27890615f8b2ef5c265a (patch) | |
tree | d4a96ba891017d0d26c15e509b4e6515e40d75ee /Makefile | |
parent | 79517a067a293ddf19867e363f0d9237c7ef8e22 (diff) | |
download | git-9174026cfe69d73ef80b27890615f8b2ef5c265a.tar.gz |
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-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |