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

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
2 parent s a5979d7 + ba6f090
Raw File
Tip revision: 76b54ee9b9944ee70422ac24884f78769cf264f1 authored by Jonathan Nieder on 19 April 2020, 23:26:41 UTC
Git 2.19.5
Tip revision: 76b54ee
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 *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);
unsigned int alloc_commit_index(struct repository *r);

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

#endif
back to top