https://github.com/git/git
Revision 8f80393c147832a5ef56929d47406b14f3a8960d authored by Johannes Schindelin on 12 February 2021, 14:49:59 UTC, committed by Johannes Schindelin on 12 February 2021, 14:49:59 UTC
* maint-2.25:
  Git 2.25.5
  Git 2.24.4
  Git 2.23.4
  Git 2.22.5
  Git 2.21.4
  Git 2.20.5
  Git 2.19.6
  Git 2.18.5
  Git 2.17.6
  unpack_trees(): start with a fresh lstat cache
  run-command: invalidate lstat cache after a command finished
  checkout: fix bug that makes checkout follow symlinks in leading path
2 parent s af6b65d + 42ce4c7
Raw File
Tip revision: 8f80393c147832a5ef56929d47406b14f3a8960d authored by Johannes Schindelin on 12 February 2021, 14:49:59 UTC
Sync with 2.25.5
Tip revision: 8f80393
bundle.h
#ifndef BUNDLE_H
#define BUNDLE_H

#include "argv-array.h"
#include "cache.h"

struct ref_list {
	unsigned int nr, alloc;
	struct ref_list_entry {
		struct object_id oid;
		char *name;
	} *list;
};

struct bundle_header {
	struct ref_list prerequisites;
	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 repository *r, const char *path,
		  int argc, const char **argv, struct argv_array *pack_options);
int verify_bundle(struct repository *r, struct bundle_header *header, int verbose);
#define BUNDLE_VERBOSE 1
int unbundle(struct repository *r, struct bundle_header *header,
	     int bundle_fd, int flags);
int list_bundle_refs(struct bundle_header *header,
		int argc, const char **argv);

#endif
back to top