Staging
v0.5.1
https://github.com/git/git
Revision 9206d27eb5e76bbb3a4e59e3c53f92eaa0caa97b authored by Jonathan Nieder on 19 April 2020, 23:30:08 UTC, committed by Jonathan Nieder on 19 April 2020, 23:30:08 UTC
This merges up the security fix from v2.17.5.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2 parent s fe22686 + 041bc65
Raw File
Tip revision: 9206d27eb5e76bbb3a4e59e3c53f92eaa0caa97b authored by Jonathan Nieder on 19 April 2020, 23:30:08 UTC
Git 2.21.3
Tip revision: 9206d27
alloc.h
#ifndef ALLOC_H
#define ALLOC_H

struct alloc_state;
struct tree;
struct commit;
struct tag;
struct repository;

void *alloc_blob_node(struct repository *r);
void *alloc_tree_node(struct repository *r);
void init_commit_node(struct repository *r, struct commit *c);
void *alloc_commit_node(struct repository *r);
void *alloc_tag_node(struct repository *r);
void *alloc_object_node(struct repository *r);
void alloc_report(struct repository *r);

struct alloc_state *allocate_alloc_state(void);
void clear_alloc_state(struct alloc_state *s);

#endif
back to top