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>
This commit is contained in:
parent
049e98c875
commit
eb3005e274
1
commit.h
1
commit.h
@ -28,6 +28,7 @@ extern const char *commit_type;
|
|||||||
extern struct decoration name_decoration;
|
extern struct decoration name_decoration;
|
||||||
struct name_decoration {
|
struct name_decoration {
|
||||||
struct name_decoration *next;
|
struct name_decoration *next;
|
||||||
|
int type;
|
||||||
char name[1];
|
char name[1];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user