diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-19 21:00:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-19 21:00:09 -0700 |
commit | e74f8f6aa7807d479d78bfc680a18a9a5198b172 (patch) | |
tree | 35c57efa419ba3cf2b49c454e8e8bca30624c481 /Makefile | |
parent | b96afa59ebfd2c0902e2fd2653e29f291bf0cac7 (diff) | |
download | git-e74f8f6aa7807d479d78bfc680a18a9a5198b172.tar.gz |
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-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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) |