libgit2/tests/network
Carlos Martín Nieto 9a97f49e3a config: borrow refcounted references
This changes the get_entry() method to return a refcounted version of
the config entry, which you have to free when you're done.

This allows us to avoid freeing the memory in which the entry is stored
on a refresh, which may happen at any time for a live config.

For this reason, get_string() has been forbidden on live configs and a
new function get_string_buf() has been added, which stores the string in
a git_buf which the user then owns.

The functions which parse the string value takea advantage of the
borrowing to parse safely and then release the entry.
2015-03-03 18:35:12 +01:00
..
remote config: borrow refcounted references 2015-03-03 18:35:12 +01:00
cred.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
fetchlocal.c Remove the signature from ref-modifying functions 2015-03-03 14:40:50 +01:00
matchhost.c netops: unit-test the cert host-name pattern matching 2014-04-26 17:27:42 +02:00
refspecs.c Check if the refspec matches before transforming 2014-08-17 14:55:06 +02:00
urlparse.c netops: error out on url without a path 2014-07-03 02:34:32 +02:00