1. 05 Aug, 2014 2 commits
  2. 06 Jul, 2014 1 commit
  3. 16 May, 2014 1 commit
    • indexer: mmap fixes for Windows · 0731a5b4
      Windows has its own ftruncate() called _chsize_s().
      
      p_mkstemp() is changed to use p_open() so we can make sure we open for
      writing; the addition of exclusive create is a good thing to do
      regardless, as we want a temporary path for ourselves.
      
      Lastly, MSVC doesn't quite know how to add two numbers if one of them is a
      void pointer, so let's alias it to unsigned char.C
      Carlos Martín Nieto committed
  4. 22 Apr, 2014 1 commit
  5. 20 Apr, 2014 1 commit
  6. 19 Aug, 2013 1 commit
  7. 13 Aug, 2013 4 commits
  8. 08 Aug, 2013 2 commits
  9. 07 Aug, 2013 1 commit
  10. 05 Aug, 2013 1 commit
  11. 08 Jan, 2013 1 commit
  12. 15 Nov, 2012 1 commit
    • Add POSIX compat lstat() variant for win32 · cccacac5
      The existing p_lstat implementation on win32 is not quite POSIX
      compliant when setting errno to ENOTDIR.  This adds an option to
      make is be compliant so that code (such as checkout) that cares
      to have separate behavior for ENOTDIR can use it portably.
      
      This also contains a couple of other minor cleanups in the
      posix_w32.c implementations to avoid unnecessary work.
      Russell Belfer committed
  13. 07 Nov, 2012 1 commit
  14. 15 Oct, 2012 1 commit
  15. 29 Aug, 2012 2 commits
  16. 23 Aug, 2012 1 commit
  17. 22 Aug, 2012 1 commit
    • Add template dir and set gid to repo init · ca1b6e54
      This extends git_repository_init_ext further with support for
      initializing the repository from an external template directory
      and with support for the "create shared" type flags that make a
      set GID repository directory.
      
      This also adds tests for much of the new functionality to the
      existing `repo/init.c` test suite.
      
      Also, this adds a bunch of new utility functions including a
      very general purpose `git_futils_mkdir` (with the ability to
      make paths and to chmod the paths post-creation) and a file
      tree copying function `git_futils_cp_r`.  Also, this includes
      some new path functions that were useful to keep the code
      simple.
      Russell Belfer committed
  18. 16 Jul, 2012 1 commit
  19. 06 Jun, 2012 1 commit
  20. 15 May, 2012 1 commit
  21. 10 May, 2012 1 commit
  22. 07 May, 2012 1 commit
  23. 17 Apr, 2012 1 commit
  24. 02 Mar, 2012 2 commits
    • Clean up GIT_UNUSED macros on all platforms · 854eccbb
      It turns out that commit 31e9cfc4cbcaf1b38cdd3dbe3282a8f57e5366a5
      did not fix the GIT_USUSED behavior on all platforms.  This commit
      walks through and really cleans things up more thoroughly, getting
      rid of the unnecessary stuff.
      
      To remove the use of some GIT_UNUSED, I ended up adding a couple
      of new iterators for hashtables that allow you to iterator just
      over keys or just over values.
      
      In making this change, I found a bug in the clar tests (where we
      were doing *count++ but meant to do (*count)++ to increment the
      value).  I fixed that but then found the test failing because it
      was not really using an empty repo.  So, I took some of the code
      that I wrote for iterator testing and moved it to clar_helpers.c,
      then made use of that to make it easier to open fixtures on a
      per test basis even within a single test file.
      Russell Belfer committed
    • Simplify GIT_UNUSED macros · 2705576b
      Since casting to void works to eliminate errors with unused
      parameters on all platforms, avoid the various special cases.
      Over time, it will make sense to eliminate the GIT_UNUSED
      macro completely and just have GIT_UNUSED_ARG.
      Russell Belfer committed
  25. 13 Feb, 2012 1 commit
  26. 07 Nov, 2011 1 commit
  27. 29 Oct, 2011 1 commit
  28. 27 Oct, 2011 1 commit
    • windows: Add support for non-UTF codepages · 11d51ca6
      Our previous assumption that all paths in Windows are encoded in UTF-8
      is rather weak, specially when considering that Git is
      encoding-agnostic.
      
      These set of functions allow the user to change the library's active
      codepage globally, so it is possible to access paths and files on all
      international versions of Windows.
      
      Note that the default encoding here is UTF-8 because we assume that 99%
      of all Git repositories will be in UTF-8.
      
      Also, if you use non-ascii characters in paths, anywhere, please burn on
      a fire.
      Vicent Marti committed
  29. 14 Oct, 2011 1 commit
  30. 05 Oct, 2011 1 commit
  31. 29 Sep, 2011 1 commit
  32. 22 Sep, 2011 1 commit
  33. 19 Sep, 2011 1 commit