Files
libgit2/docs
Edward Thomson 5346be3ddd docs: document git_buf
We have been inconsistent about the way that we handle `git_buf`s
provided by users.  _Usually_ we require that it has been properly
initialized with `GIT_BUF_INIT`, but _sometimes_ we simply overwrite
the data in it regardless.  And even more rarely, we will grow a
user-provided buffer and concatenate data onto it (see
`git_diff_format_email`).

Document the path forward for `git_buf`, which is that we always
require that the buffer is intitialized with `GIT_BUF_INIT`.

`git_diff_format_email` will be kept backward compatible but users
are encouraged to switch to the new `git_email` APIs.
2021-10-17 09:40:20 -04:00
..
2021-10-17 09:40:20 -04:00
2018-05-30 11:11:07 +02:00
2013-12-01 10:35:56 +01:00
2020-02-15 04:32:05 +00:00
2013-04-30 15:31:31 -05:00
2018-05-30 11:11:07 +02:00
2021-06-25 14:49:33 -05:00
2018-05-30 11:11:07 +02:00