Merge branch 'jc/unseekable-bundle'

* jc/unseekable-bundle:
  bundle: add parse_bundle_header() helper function
  bundle: allowing to read from an unseekable fd

Conflicts:
	transport.c
This commit is contained in:
Junio C Hamano
2011-10-21 16:04:32 -07:00
3 changed files with 93 additions and 62 deletions

View File

@ -14,6 +14,7 @@ struct bundle_header {
struct ref_list references;
};
int is_bundle(const char *path, int quiet);
int read_bundle_header(const char *path, struct bundle_header *header);
int create_bundle(struct bundle_header *header, const char *path,
int argc, const char **argv);