X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=cache.h;h=6ac94c5a1f0ccdc956b006eaa9a176835f5726fb;hb=302ebfe52192fff9a2c1c612dff22325fd073acc;hp=a7c1bbd51cac6f7c1c8307d5ad04467e4d6d1a57;hpb=8fc66df237afce0b4318657f166b3583831949f3;p=git.git diff --git a/cache.h b/cache.h index a7c1bbd5..6ac94c5a 100644 --- a/cache.h +++ b/cache.h @@ -203,6 +203,7 @@ int git_mkstemp(char *path, size_t n, const char *template); int safe_create_leading_directories(char *path); char *safe_strncpy(char *, const char *, size_t); +char *enter_repo(char *path, int strict); /* Read and unpack a sha1 file into memory, write memory to a sha1 file */ extern int unpack_sha1_header(z_stream *stream, void *map, unsigned long mapsize, void *buffer, unsigned long size); @@ -262,9 +263,8 @@ void datestamp(char *buf, int bufsize); unsigned long approxidate(const char *); extern int setup_ident(void); -extern char *get_ident(const char *name, const char *email, const char *date_str); -extern char *git_author_info(void); -extern char *git_committer_info(void); +extern const char *git_author_info(void); +extern const char *git_committer_info(void); static inline void *xmalloc(size_t size) {