Staging
v0.5.1
https://github.com/git/git
Revision 6fe5b7ff6cafcc94415deba2f3d611770d8e6b1e authored by Junio C Hamano on 02 October 2006, 07:43:52 UTC, committed by Junio C Hamano on 02 October 2006, 07:43:52 UTC
Although most people would have one after colon if only for
readability, we never required it in git-parse-remote, so let's
not require one only in git-push.

Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 4fddf57
Raw File
Tip revision: 6fe5b7ff6cafcc94415deba2f3d611770d8e6b1e authored by Junio C Hamano on 02 October 2006, 07:43:52 UTC
git-push: .git/remotes/ file does not require SP after colon
Tip revision: 6fe5b7f
pack.h
#ifndef PACK_H
#define PACK_H

#include "object.h"

/*
 * Packed object header
 */
#define PACK_SIGNATURE 0x5041434b	/* "PACK" */
#define PACK_VERSION 2
#define pack_version_ok(v) ((v) == htonl(2) || (v) == htonl(3))
struct pack_header {
	unsigned int hdr_signature;
	unsigned int hdr_version;
	unsigned int hdr_entries;
};

extern int verify_pack(struct packed_git *, int);
extern int check_reuse_pack_delta(struct packed_git *, unsigned long,
				  unsigned char *, unsigned long *,
				  enum object_type *);
#endif
back to top