]> git.proxmox.com Git - libgit2.git/commit - include/git2/blob.h
blob: don't recomment using git_buf_grow
authorCarlos Martín Nieto <cmn@dwim.me>
Tue, 23 Jun 2015 13:21:12 +0000 (15:21 +0200)
committerCarlos Martín Nieto <cmn@dwim.me>
Wed, 24 Jun 2015 21:49:10 +0000 (23:49 +0200)
commitbd470d0034e7b9217e4084a71d63dec64d2bfcd8
treee875936bf606ab60f3fe2147c58ba182ee43156c
parentcaab22c0d468e90b6a95072f3092d5dcf331b3ef
blob: don't recomment using git_buf_grow

We currently recommend using `git_buf_grow` in order to make a buffer
make an owned copy of the memory it points to. This is not behaviour we
should encourage, so remove this recommendation.

The function itself is not changed, as we need to remain compatible, but
it will be changed not to allow usage on borrowed buffers.
include/git2/blob.h