Re: [PATCH] config_set_multivar(): disallow newlines in keys
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 22, 2007, 15:44 UTC
- Message-ID
- <Pine.LNX.4.63.0701221643030.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <81b0412b0701220733j1002bd9dse8db491512c7a500@mail.gmail.com>
Hi,
On Mon, 22 Jan 2007, Alex Riesen wrote:
Show 7 quoted lines
> On 1/22/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > > 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.
Ciao, Dscho