summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-04-19 21:00:09 -0700
committerLibravatar Linus Torvalds <torvalds@ppc970.osdl.org>2005-04-19 21:00:09 -0700
commite74f8f6aa7807d479d78bfc680a18a9a5198b172 (patch)
tree35c57efa419ba3cf2b49c454e8e8bca30624c481 /Makefile
parentMake us be better at guessing a good hostname for the email. (diff)
downloadtgif-e74f8f6aa7807d479d78bfc680a18a9a5198b172.tar.xz
Add "diff-cache" helper program to compare a tree (or commit) with
the current cache state and/or working directory. Very useful to see what has changed since the last commit, either in the index file or in the whole working directory. Also very possibly very buggy. Matching the two up is not entirely trivial.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 57181be367..0d07b9a4d3 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,8 @@ AR=ar
PROG= update-cache show-diff init-db write-tree read-tree commit-tree \
cat-file fsck-cache checkout-cache diff-tree rev-tree show-files \
- check-files ls-tree merge-base merge-cache unpack-file git-export
+ check-files ls-tree merge-base merge-cache unpack-file git-export \
+ diff-cache
all: $(PROG)
@@ -84,15 +85,19 @@ unpack-file: unpack-file.o $(LIB_FILE)
git-export: git-export.o $(LIB_FILE)
$(CC) $(CFLAGS) -o git-export git-export.o $(LIBS)
+diff-cache: diff-cache.o $(LIB_FILE)
+ $(CC) $(CFLAGS) -o diff-cache diff-cache.o $(LIBS)
+
blob.o: $(LIB_H)
cat-file.o: $(LIB_H)
check-files.o: $(LIB_H)
checkout-cache.o: $(LIB_H)
commit.o: $(LIB_H)
commit-tree.o: $(LIB_H)
+diff-cache.o: $(LIB_H)
diff-tree.o: $(LIB_H)
fsck-cache.o: $(LIB_H)
-git_export.o: $(LIB_H)
+git-export.o: $(LIB_H)
init-db.o: $(LIB_H)
ls-tree.o: $(LIB_H)
merge-base.o: $(LIB_H)