Re: [PATCH 0/2] Add a freez() wrapper

2017-06-09 Thread Brandon Williams
On 06/09, Ævar Arnfjörð Bjarmason wrote: > On Fri, Jun 9, 2017 at 1:40 AM, Brandon Williams wrote: > > Introduce the repository object 'struct repository' which can be used to > > hold all state pertaining to a git repository. > > [...] > > +static void repo_clear_env(struct

[PATCH 0/2] Add a freez() wrapper

2017-06-09 Thread Ævar Arnfjörð Bjarmason
On Fri, Jun 9, 2017 at 1:40 AM, Brandon Williams wrote: > Introduce the repository object 'struct repository' which can be used to > hold all state pertaining to a git repository. > [...] > +static void repo_clear_env(struct repository *repo) > +{ > + free(repo->gitdir);