aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-20 01:10:46 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-20 01:10:46 -0700
commitd98b46f8d9a3daf965a39f8c0089c1401e0081ee (patch)
tree765ea3ef9d7d57d29a38d4c1d1ddc4be17554936 /Makefile
parentcb126d8d7906b3c15f313ca479259e567042840a (diff)
downloadgit-d98b46f8d9a3daf965a39f8c0089c1401e0081ee.tar.gz
git-d98b46f8d9a3daf965a39f8c0089c1401e0081ee.tar.xz
Do SHA1 hash _before_ compression.
And add a "convert-cache" program to convert from old-style to new-style.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0d07b9a4d..cd299f850 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ 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 \
- diff-cache
+ diff-cache convert-cache
all: $(PROG)
@@ -88,12 +88,16 @@ git-export: git-export.o $(LIB_FILE)
diff-cache: diff-cache.o $(LIB_FILE)
$(CC) $(CFLAGS) -o diff-cache diff-cache.o $(LIBS)
+convert-cache: convert-cache.o $(LIB_FILE)
+ $(CC) $(CFLAGS) -o convert-cache convert-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)
+convert-cache.o: $(LIB_H)
diff-cache.o: $(LIB_H)
diff-tree.o: $(LIB_H)
fsck-cache.o: $(LIB_H)