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>
diff --git a/commit.h b/commit.h index 6ef88dc..ba818fc 100644 --- a/commit.h +++ b/commit.h
@@ -28,6 +28,7 @@ extern struct decoration name_decoration; struct name_decoration { struct name_decoration *next; + int type; char name[1]; };