bundle.hon commit git-clean.txt: clarify ignore pattern files (407e768)
   1#ifndef BUNDLE_H
   2#define BUNDLE_H
   3
   4#include "cache.h"
   5
   6struct ref_list {
   7        unsigned int nr, alloc;
   8        struct ref_list_entry {
   9                struct object_id oid;
  10                char *name;
  11        } *list;
  12};
  13
  14struct bundle_header {
  15        struct ref_list prerequisites;
  16        struct ref_list references;
  17};
  18
  19int is_bundle(const char *path, int quiet);
  20int read_bundle_header(const char *path, struct bundle_header *header);
  21int create_bundle(struct repository *r, const char *path,
  22                  int argc, const char **argv);
  23int verify_bundle(struct repository *r, struct bundle_header *header, int verbose);
  24#define BUNDLE_VERBOSE 1
  25int unbundle(struct repository *r, struct bundle_header *header,
  26             int bundle_fd, int flags);
  27int list_bundle_refs(struct bundle_header *header,
  28                int argc, const char **argv);
  29
  30#endif