1. 03 Mar, 2015 2 commits
    • Plug a few leaks · fe21d708
      Carlos Martín Nieto committed
    • config: borrow refcounted references · 9a97f49e
      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.
      Carlos Martín Nieto committed
  2. 12 Feb, 2015 1 commit
  3. 10 Dec, 2014 1 commit
  4. 03 Nov, 2014 1 commit
  5. 01 Nov, 2014 1 commit
  6. 23 Oct, 2014 1 commit
  7. 15 May, 2014 1 commit
    • Better search path sandboxing · 8487e237
      There are a number of tests that modify the global or system
      search paths during the tests.  This adds a helper function to
      make it easier to restore those paths and makes sure that they
      are getting restored in a manner that preserves test isolation.
      Russell Belfer committed
  8. 14 Nov, 2013 1 commit
  9. 07 Sep, 2013 4 commits