Re: [PATCH v2 6/8] evolve: Add support for writing metacommits

2019-01-29 Thread SZEDER Gábor
On Sun, Jan 27, 2019 at 11:41:26AM -0800, sxe...@google.com wrote: > diff --git a/metacommit.c b/metacommit.c > +static void compute_change_name(struct commit *initial_commit, struct > strbuf* result) > +{ > + struct strbuf default_name; > + struct object_id unused; > + > + strbuf_ini

[PATCH v2 6/8] evolve: Add support for writing metacommits

2019-01-27 Thread sxenos
From: Stefan Xenos metacommit.c supports the creation of metacommits and adds the API needed to create and update changes. Create the "modify_change" function that can be called from modification commands like "rebase" and "git amend" to record obsolescences in the change graph. Create the "rec