Revision b893e88191c61bf44ae83588d3a01e543bcb85c9 authored by Junio C Hamano on 28 November 2012, 21:42:30 UTC, committed by Junio C Hamano on 28 November 2012, 21:42:30 UTC
* mm/status-push-pull-advise:
  status: add advice on how to push/pull to tracking branch
2 parent s 682098b + c190ced
Raw File
decorate.h
#ifndef DECORATE_H
#define DECORATE_H

struct object_decoration {
	const struct object *base;
	void *decoration;
};

struct decoration {
	const char *name;
	unsigned int size, nr;
	struct object_decoration *hash;
};

extern void *add_decoration(struct decoration *n, const struct object *obj, void *decoration);
extern void *lookup_decoration(struct decoration *n, const struct object *obj);

#endif
back to top