From 3407bb4940c25ca67c846a48ef2c2c60c02178e0 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Mon, 18 Apr 2005 14:11:01 -0700 Subject: Add "unpack-file" helper that unpacks a sha1 blob into a tmpfile. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 85859b09a3..390bd32639 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,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 + check-files ls-tree merge-base merge-cache unpack-file all: $(PROG) @@ -78,6 +78,9 @@ merge-base: merge-base.o $(LIB_FILE) object.o commit.o tree.o blob.o merge-cache: merge-cache.o $(LIB_FILE) $(CC) $(CFLAGS) -o merge-cache merge-cache.o $(LIBS) +unpack-file: unpack-file.o $(LIB_FILE) + $(CC) $(CFLAGS) -o unpack-file unpack-file.o $(LIBS) + blob.o: $(LIB_H) cat-file.o: $(LIB_H) check-files.o: $(LIB_H) @@ -100,6 +103,7 @@ show-files.o: $(LIB_H) tree.o: $(LIB_H) update-cache.o: $(LIB_H) usage.o: $(LIB_H) +unpack-file.o: $(LIB_H) write-tree.o: $(LIB_H) clean: -- cgit v1.2.1