Revision f0583867e746985e9d62f57d5ba6ce27b2603447 authored by MichaĆ Kiedrowicz on 18 April 2009, 21:03:57 UTC, committed by Junio C Hamano on 20 April 2009, 20:47:02 UTC
I realized that this test does check if git-apply succeeds, but doesn't tell if it applies patches correctly. So I added test_cmp to check it. I also added a test which checks swapping three files. Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent e8141fc
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
Computing file changes ...