summaryrefslogtreecommitdiff
path: root/bundle.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-10-21 23:04:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-10-21 23:04:32 (GMT)
commitb76c561a74cd366786b7b762795fba1551b42149 (patch)
treefc62c2f0ec076276a5b949a520eb8576e94e4026 /bundle.h
parentafd6284a7fdbb479b5c99a87f64d7496f6fe8a27 (diff)
parent2727b71f0547f5181653940d279854e7924788fb (diff)
downloadgit-b76c561a74cd366786b7b762795fba1551b42149.zip
git-b76c561a74cd366786b7b762795fba1551b42149.tar.gz
git-b76c561a74cd366786b7b762795fba1551b42149.tar.bz2
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
Diffstat (limited to 'bundle.h')
-rw-r--r--bundle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundle.h b/bundle.h
index c5a22c8..1584e4d 100644
--- a/bundle.h
+++ b/bundle.h
@@ -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);