Permalink
Browse files

Move bundle specific stuff into bundle.[ch]

The transport specific stuff was moved into libgit.a, and the
bundle specific stuff will not be left behind.

This is a big code move, with one exception: the function
unbundle() no longer outputs the list of refs.  You have to call
list_bundle_refs() yourself for that.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information...
1 parent c29727d commit 30415d50cccef0ec22bb4a6d58138760b142758d @dscho dscho committed with gitster Sep 11, 2007
Showing with 375 additions and 360 deletions.
  1. +1 −1 Makefile
  2. +6 −359 builtin-bundle.c
  3. +343 −0 bundle.c
  4. +25 −0 bundle.h
View
@@ -311,7 +311,7 @@ LIB_OBJS = \
alloc.o merge-file.o path-list.o help.o unpack-trees.o $(DIFF_OBJS) \
color.o wt-status.o archive-zip.o archive-tar.o shallow.o utf8.o \
convert.o attr.o decorate.o progress.o mailmap.o symlinks.o remote.o \
- transport.o
+ transport.o bundle.o
BUILTIN_OBJS = \
builtin-add.o \
Oops, something went wrong.

0 comments on commit 30415d5

Please sign in to comment.