commit.h: add 'type' to struct name_decoration
This allows for semantically better handling of decoration type. Signed-off-by: Nazri Ramliy <ayiehere@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nazri Ramliy committed
Jun 19, 2010 at 09:37 UTC
eb3005e274d6d342cd4766598d9210995b5dca0c
1 file changed
+1
commit.h
+1
@@ -28,6 +28,7 @@ extern const char *commit_type;
28
extern struct decoration name_decoration;
29
struct name_decoration {
30
struct name_decoration *next;
31
+ int type;
32
char name[1];
33
};
34