https://github.com/git/git
Revision 6f402a93ce1eb00438c5bcc5f28164d9165ba8b9 authored by Junio C Hamano on 27 July 2015, 19:21:42 UTC, committed by Junio C Hamano on 27 July 2015, 19:21:42 UTC
"git config" failed to update the configuration file when the
underlying filesystem is incapable of renaming a file that is still
open.

* kb/config-unmap-before-renaming:
  config.c: fix writing config files on Windows network shares
2 parent s 726359b + 7a64592
Raw File
Tip revision: 6f402a93ce1eb00438c5bcc5f28164d9165ba8b9 authored by Junio C Hamano on 27 July 2015, 19:21:42 UTC
Merge branch 'kb/config-unmap-before-renaming' into maint
Tip revision: 6f402a9
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