X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=cache.h;h=1d99d6817d8bcd629d01ca75daf0767e93376f11;hb=c80522e30fdc190f8c8c7fc983bbe040a1b03e93;hp=1478631b40bf122556e50d19686868b1fb03b712;hpb=434d6ba03122c160f98713a009cf8a32d02982f3;p=git.git diff --git a/cache.h b/cache.h index 1478631b..1d99d681 100644 --- a/cache.h +++ b/cache.h @@ -50,17 +50,21 @@ * Your search - "port 9418" - did not match any documents. * * as www.google.com puts it. + * + * This port has been properly assigned for git use by IANA: + * git (Assigned-9418) [I06-050728-0001]. + * + * git 9418/tcp git pack transfer service + * git 9418/udp git pack transfer service + * + * with Linus Torvalds as the point of + * contact. September 2005. + * + * See http://www.iana.org/assignments/port-numbers */ #define DEFAULT_GIT_PORT 9418 /* - * Environment variables transition. - * We accept older names for now but warn. - */ -extern char *gitenv_bc(const char *); -#define gitenv(e) (getenv(e) ? : gitenv_bc(e)) - -/* * Basic data structures for the directory cache */ @@ -323,7 +327,7 @@ extern int get_ack(int fd, unsigned char *result_sha1); extern struct ref **get_remote_heads(int in, struct ref **list, int nr_match, char **match); extern struct packed_git *parse_pack_index(unsigned char *sha1); -extern struct packed_git *parse_pack_index_file(unsigned char *sha1, +extern struct packed_git *parse_pack_index_file(const unsigned char *sha1, char *idx_path); extern void prepare_packed_git(void);