Re: [PATCH v3 4/8] evolve: Add support for parsing metacommits

2019-01-27 Thread Junio C Hamano
sxe...@google.com writes: > +/* > + * Search the commit buffer for a line starting with the given key. Unlike > + * find_commit_header, this also searches the commit message body. > + */ > +static const char *find_key(const char *msg, const char *key, size_t > *out_len) > +{ > + int key_len =

[PATCH v3 4/8] evolve: Add support for parsing metacommits

2019-01-27 Thread sxenos
From: Stefan Xenos This patch adds the get_metacommit_content method, which can classify commits as either metacommits or normal commits, determine whether they are abandoned, and extract the content commit's object id from the metacommit. Signed-off-by: Stefan Xenos --- Makefile|