1. 22 Jan, 2014 2 commits
    • Drop git_patch_to_str · c05cd792
      It's hard or even impossible to correctly free the string buffer
      allocated by git_patch_to_str in some circumstances. Drop the function
      so people have to use git_patch_to_buf instead - git_buf has a dedicated
      destructor.
      Nicolas Hake committed
    • Expose patch serialization to git_buf · 450e8e9e
      Returning library-allocated strings from libgit2 works fine on Linux,
      but may cause problems on Windows because there is no one C Runtime that
      everything links against. With libgit2 not exposing its own allocator,
      freeing the string is a gamble.
      
      git_patch_to_str already serializes to a buffer, then returns the
      underlying memory. Expose the functionality directly, so callers can use
      the git_buf_free function to free the memory later.
      Nicolas Hake committed
  2. 21 Jan, 2014 1 commit
  3. 20 Jan, 2014 14 commits
  4. 18 Jan, 2014 2 commits
  5. 17 Jan, 2014 2 commits
  6. 16 Jan, 2014 4 commits
  7. 15 Jan, 2014 9 commits
  8. 14 Jan, 2014 6 commits