Christian Couder [off-list ref] writes:
quoted hunk ↗ jump to hunk
diff --git a/trailer.c b/trailer.c
index 5b8e28b..5d69c00 100644
--- a/trailer.c
+++ b/trailer.c
@@ -378,3 +378,96 @@ static int git_trailer_config(const char *conf_key, const char *value, void *cb)
...
+static struct trailer_item *new_trailer_item(struct trailer_item *conf_item,
+ char* tok, char* val)
Asterisk sticks to the variable, not the type.
+static struct trailer_item *create_trailer_item(const char *string)
+{
...
+ return new_trailer_item(NULL, strbuf_detach(&tok, NULL), strbuf_detach(&val, NULL));;
Overlong line. Perhaps that helped you to miss the double-semicolon
at the end.