commit.h: add 'type' to struct name_decoration