From c9823a427a0a7aabc4f840a90e82548e91f9bdd6 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Tue, 19 Apr 2005 14:00:34 -0700 Subject: Add stupid "git export" thing, which can export a git archive as a set of patches and commentary. You'd want something like this if you are tracking a git archive in another SCM format. Notably, we want something like that for BK users. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 390bd32639..57181be367 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 unpack-file + check-files ls-tree merge-base merge-cache unpack-file git-export all: $(PROG) @@ -81,6 +81,9 @@ merge-cache: merge-cache.o $(LIB_FILE) unpack-file: unpack-file.o $(LIB_FILE) $(CC) $(CFLAGS) -o unpack-file unpack-file.o $(LIBS) +git-export: git-export.o $(LIB_FILE) + $(CC) $(CFLAGS) -o git-export git-export.o $(LIBS) + blob.o: $(LIB_H) cat-file.o: $(LIB_H) check-files.o: $(LIB_H) @@ -89,6 +92,7 @@ commit.o: $(LIB_H) commit-tree.o: $(LIB_H) diff-tree.o: $(LIB_H) fsck-cache.o: $(LIB_H) +git_export.o: $(LIB_H) init-db.o: $(LIB_H) ls-tree.o: $(LIB_H) merge-base.o: $(LIB_H) -- cgit v1.2.3