Re: [PATCH] config_set_multivar(): disallow newlines in keys
On 1/22/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 11 quoted lines
> > > BTW IMHO we will probably never libify git; too many too complicated cases
> > > exist already.
> >
> > We probably don't need it libified completely. Just reading and writing of
> > the object database and tags/references and very simple revision walking
> > will be a very good start [...]
>
> ... and even these use xmalloc(), which die()s on out-of-memory. Note that
> it would be a really horrible work to libify that, since you basically
> have to insert gazillions of free() calls at the right point, which we
> don't have to, since exit() cleans up after us anyway.
Didn't say it'd be simple. Just not impossible.