From: Stefan Beller Date: Mon, 25 Apr 2016 21:54:37 GMT Subject: Re: [PATCH 33/83] builtin/apply: move 'root' global into 'struct apply_state' Message-ID: In-Reply-To: > > Eventually we want to have some sort of `init_apply_state` function or > a define which has all the values, I guess? > > Compare for example to sliding_window.h, where > we have > > struct sliding_view { > ... > struct strbuf buf; > }; > > #define SLIDING_VIEW_INIT(..., STRBUF_INIT } Nevermind, just read patch "builtin/apply: move 'state' init into init_apply_state()"