1. 13 Feb, 2012 1 commit
  2. 08 Dec, 2011 1 commit
    • Use git_buf for path storage instead of stack-based buffers · 97769280
      This converts virtually all of the places that allocate GIT_PATH_MAX
      buffers on the stack for manipulating paths to use git_buf objects
      instead.  The patch is pretty careful not to touch the public API
      for libgit2, so there are a few places that still use GIT_PATH_MAX.
      
      This extends and changes some details of the git_buf implementation
      to add a couple of extra functions and to make error handling easier.
      
      This includes serious alterations to all the path.c functions, and
      several of the fileops.c ones, too.  Also, there are a number of new
      functions that parallel existing ones except that use a git_buf
      instead of a stack-based buffer (such as git_config_find_global_r
      that exists alongsize git_config_find_global).
      
      This also modifies the win32 version of p_realpath to allocate whatever
      buffer size is needed to accommodate the realpath instead of hardcoding
      a GIT_PATH_MAX limit, but that change needs to be tested still.
      Russell Belfer committed
  3. 28 Nov, 2011 1 commit
  4. 18 Nov, 2011 1 commit
  5. 29 Oct, 2011 1 commit
  6. 12 Oct, 2011 6 commits
  7. 01 Oct, 2011 2 commits
  8. 30 Sep, 2011 3 commits
  9. 19 Sep, 2011 1 commit
    • Tabify everything · 87d9869f
      There were quite a few places were spaces were being used instead of
      tabs. Try to catch them all. This should hopefully not break anything.
      Except for `git blame`. Oh well.
      Vicent Marti committed
  10. 18 Sep, 2011 1 commit
    • Cleanup legal data · bb742ede
      1. The license header is technically not valid if it doesn't have a
      copyright signature.
      
      2. The COPYING file has been updated with the different licenses used in
      the project.
      
      3. The full GPLv2 header in each file annoys me.
      Vicent Marti committed
  11. 04 Sep, 2011 1 commit
  12. 30 Aug, 2011 2 commits
  13. 25 Aug, 2011 1 commit
  14. 24 Aug, 2011 1 commit
  15. 18 Aug, 2011 12 commits
  16. 11 Jul, 2011 1 commit
  17. 06 Jul, 2011 1 commit
    • Fix network MSYS compilation · 39cdf272
      MSYS/MinGW uses winsock but obviously doesn't set _MSC_VER. Use _WIN32
      to decide whether to use winsock or BSD headers. Also remove these
      headers from src/transport_git.c altogether, as they are not needed.
      
      MSYS is very conservative, so we have to tell it that we don't care
      about versions of Windows lower than WindowsXP. We also need to tell
      CMake to add ws2_32 to the libraries list and we shouldn't add the
      -fPIC option, to MSYS because it complains that it does it anyway.
      
      Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
      Carlos Martín Nieto committed
  18. 27 Jun, 2011 3 commits