Skip to content

Commit eb3005e

Browse files
nazrigitster
authored andcommitted
commit.h: add 'type' to struct name_decoration
This allows for semantically better handling of decoration type. Signed-off-by: Nazri Ramliy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 049e98c commit eb3005e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

commit.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ extern const char *commit_type;
2828
extern struct decoration name_decoration;
2929
struct name_decoration {
3030
struct name_decoration *next;
31+
int type;
3132
char name[1];
3233
};
3334

0 commit comments

Comments
 (0)