path: root/Makefile
diff options
authorLinus Torvalds <>2005-04-19 21:00:34 (GMT)
committerLinus Torvalds <>2005-04-19 21:00:34 (GMT)
commitc9823a427a0a7aabc4f840a90e82548e91f9bdd6 (patch)
tree2e576d757af633d75c8df6340e28266e7a010714 /Makefile
parent7fa6b4e7692926d2d07adee1ef8e277157929058 (diff)
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.
Diffstat (limited to 'Makefile')
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 390bd32..57181be 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)