Staging
v0.5.2
https://github.com/git/git
Revision 97d0c52980f0e64f0feed5b31390a32561df0ecf authored by Junio C Hamano on 27 December 2007, 01:35:38 UTC, committed by Junio C Hamano on 27 December 2007, 01:35:38 UTC
* ar/commit-cleanup:
  Allow selection of different cleanup modes for commit messages
  builtin-commit: avoid double-negation in the code.
  builtin-commit: fix amending of the initial commit
  t7005: do not exit inside test.
2 parent s d562509 + 5f06573
Raw File
Tip revision: 97d0c52980f0e64f0feed5b31390a32561df0ecf authored by Junio C Hamano on 27 December 2007, 01:35:38 UTC
Merge branch 'ar/commit-cleanup'
Tip revision: 97d0c52
bundle.h
#ifndef BUNDLE_H
#define BUNDLE_H

struct ref_list {
	unsigned int nr, alloc;
	struct ref_list_entry {
		unsigned char sha1[20];
		char *name;
	} *list;
};

struct bundle_header {
	struct ref_list prerequisites;
	struct ref_list references;
};

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);
int verify_bundle(struct bundle_header *header, int verbose);
int unbundle(struct bundle_header *header, int bundle_fd);
int list_bundle_refs(struct bundle_header *header,
		int argc, const char **argv);

#endif
back to top