diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-09 09:53:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-09 09:53:05 -0700 |
commit | 33db5f4d9027a10e477ccf054b2c1ab94f74c85a (patch) | |
tree | 83941fd0e146733198bcc5fe8c06d50dc9e6c225 /Makefile | |
parent | 734aab758cc2b9f5e2ed43375dbfec1b5bfde43b (diff) | |
download | git-33db5f4d9027a10e477ccf054b2c1ab94f74c85a.tar.gz git-33db5f4d9027a10e477ccf054b2c1ab94f74c85a.tar.xz |
Add a "checkout-cache" command which does what the name suggests.
I'll also eventually change "read-tree" to only update the cache
information, instead of doing a checkout of the tree. Much nicer.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,7 +1,8 @@ CFLAGS=-g -O3 -Wall CC=gcc -PROG=update-cache show-diff init-db write-tree read-tree commit-tree cat-file fsck-cache +PROG= update-cache show-diff init-db write-tree read-tree commit-tree \ + cat-file fsck-cache checkout-cache all: $(PROG) @@ -33,6 +34,9 @@ cat-file: cat-file.o read-cache.o fsck-cache: fsck-cache.o read-cache.o $(CC) $(CFLAGS) -o fsck-cache fsck-cache.o read-cache.o $(LIBS) +checkout-cache: checkout-cache.o read-cache.o + $(CC) $(CFLAGS) -o checkout-cache checkout-cache.o read-cache.o $(LIBS) + read-cache.o: cache.h show-diff.o: cache.h |