1. 18 Jul, 2019 1 commit
  2. 14 Jun, 2019 1 commit
    • Rename opt init functions to `options_init` · 0b5ba0d7
      In libgit2 nomenclature, when we need to verb a direct object, we name
      a function `git_directobject_verb`.  Thus, if we need to init an options
      structure named `git_foo_options`, then the name of the function that
      does that should be `git_foo_options_init`.
      
      The previous names of `git_foo_init_options` is close - it _sounds_ as
      if it's initializing the options of a `foo`, but in fact
      `git_foo_options` is its own noun that should be respected.
      
      Deprecate the old names; they'll now call directly to the new ones.
      Edward Thomson committed
  3. 01 Dec, 2018 1 commit
  4. 20 Oct, 2018 2 commits
    • checkout tests: test symlinks based on support, not platform · e4ac4000
      When testing whether symlinks are correctly checked out, examine the
      `core.symlinks` configuration option to determine if symlinks are
      supported in a repository, don't simply assume that Windows means that
      symbolic links are not supported.
      
      Further, when testing the expected default behavior of `core.symlinks`,
      test the filesystem's support to determine if symlinks are supported.
      
      Finally, ensure that `core.symlinks=true` fails on a system where
      symlinks are actually not supported.  This aligns with the behavior of
      Git for Windows.
      Edward Thomson committed
    • checkout tests: don't use GetFinalPathNameByHandle · 7b6875f4
      To determine the canonical filename for a given path, we previously
      looked at the directory entries on POSIX systems and used
      GetFinalPathNameByHandle on Windows.  However, GetFinalPathNameByHandle
      requires a HANDLE - the results of CreateFile - and you cannot
      CreateFile on a symbolic link.
      
      To support finding the canonical path of a symbolic link, simply use the
      existing POSIX code to look at the directory entries.
      Edward Thomson committed
  5. 10 Jun, 2018 1 commit
  6. 12 Jun, 2015 1 commit
  7. 04 May, 2015 3 commits
  8. 16 Mar, 2015 1 commit
  9. 20 Jan, 2015 3 commits