Skip to content

Commit

Permalink
commit.h: add 'type' to struct name_decoration
Browse files Browse the repository at this point in the history
This allows for semantically better handling of decoration type.

Signed-off-by: Nazri Ramliy <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
nazri authored and gitster committed Jun 21, 2010
1 parent 049e98c commit eb3005e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commit.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ extern const char *commit_type;
extern struct decoration name_decoration;
struct name_decoration {
struct name_decoration *next;
int type;
char name[1];
};

Expand Down

0 comments on commit eb3005e

Please sign in to comment.