1. 04 May, 2015 6 commits
  2. 06 Apr, 2015 1 commit
    • Fix git_checkout_tree() to do index filemodes correctly on Windows. · 67db2bde
      git_checkout_tree() has some fallback behaviors for file systems
      which don't have full support of filemodes.  Generally works fine,
      but if a given file had a change of type from a 0644 to 0755 (i.e.,
      you add executable permissions), the fallback behavior incorrectly
      triggers when writing hte updated index.
      
      This would cause a git_checkout_tree() command, even with the
      GIT_CHECKOUT_FORCE option set, to leave a dirty index on Windows.
      
      Also added checks to an existing test to catch this case.
      John Fultz committed
  3. 04 Apr, 2015 1 commit
  4. 25 Mar, 2015 1 commit
  5. 16 Mar, 2015 1 commit
  6. 03 Mar, 2015 5 commits
  7. 27 Feb, 2015 3 commits
  8. 14 Feb, 2015 1 commit
  9. 04 Feb, 2015 2 commits
  10. 03 Feb, 2015 2 commits
  11. 30 Jan, 2015 1 commit
  12. 20 Jan, 2015 6 commits
  13. 04 Jan, 2015 1 commit
  14. 23 Dec, 2014 2 commits
  15. 17 Dec, 2014 1 commit
  16. 16 Dec, 2014 2 commits
    • checkout: disallow bad paths on HFS · 11d67b75
      HFS filesystems ignore some characters like U+200C.  When these
      characters are included in a path, they will be ignored for the
      purposes of comparison with other paths.  Thus, if you have a ".git"
      folder, a folder of ".git<U+200C>" will also match.  Protect our
      ".git" folder by ensuring that ".git<U+200C>" and friends do not match it.
      Edward Thomson committed
    • checkout: disallow bad paths on win32 · a64119e3
      Disallow:
       1. paths with trailing dot
       2. paths with trailing space
       3. paths with trailing colon
       4. paths that are 8.3 short names of .git folders ("GIT~1")
       5. paths that are reserved path names (COM1, LPT1, etc).
       6. paths with reserved DOS characters (colons, asterisks, etc)
      
      These paths would (without \\?\ syntax) be elided to other paths - for
      example, ".git." would be written as ".git".  As a result, writing these
      paths literally (using \\?\ syntax) makes them hard to operate with from
      the shell, Windows Explorer or other tools.  Disallow these.
      Edward Thomson committed
  17. 23 Nov, 2014 1 commit
  18. 06 Nov, 2014 2 commits
  19. 13 Oct, 2014 1 commit