1. 24 Jun, 2013 1 commit
  2. 21 Jun, 2013 3 commits
  3. 15 May, 2013 1 commit
  4. 03 May, 2013 1 commit
  5. 01 May, 2013 1 commit
  6. 15 Apr, 2013 1 commit
  7. 09 Apr, 2013 1 commit
  8. 25 Mar, 2013 3 commits
    • Fix up checkout file contents checks · 050ab995
      This fixes of the file contents checks in checkout to give
      slightly better error messages by directly calling the underlying
      clar assertions so the file and line number of the top level call
      can be reported correctly, and renames the helpers to not start
      with "test_" since that is kind of reserved by clar.
      
      This also enables some of the CRLF tests on all platforms that
      were previously Windows only (by pushing a check of the native
      line endings into the test body).
      Russell Belfer committed
    • Test fixes and cleanup · 1098cfae
      This fixes some places where the new tests were leaving the test
      area in a bad state or were freeing data they should not free.
      It also removes code that is extraneous to the core issue and
      fixes an invalid SHA being looked up in one of the tests (which
      was failing, but for the wrong reason).
      Russell Belfer committed
    • Added some tests for issue #1397 · b8acb775
      Signed-off-by: Sven Strickroth <email@cs-ware.de>
      Sven Strickroth committed
  9. 22 Mar, 2013 1 commit
  10. 27 Feb, 2013 1 commit
  11. 13 Jan, 2013 1 commit
  12. 12 Jan, 2013 2 commits
  13. 11 Jan, 2013 2 commits
  14. 10 Jan, 2013 1 commit
  15. 06 Jan, 2013 1 commit
  16. 05 Jan, 2013 1 commit
  17. 04 Jan, 2013 6 commits
  18. 01 Dec, 2012 1 commit
  19. 30 Nov, 2012 1 commit
  20. 23 Nov, 2012 1 commit
    • Reset all static variables to NULL in clar's __cleanup · 9094d30b
      Without this change, any failed assertion in the second (or a later) test
      inside a test suite has a chance of double deleting memory, resulting in
      a heap corruption. See #1096 for details.
      
      This leaves alone the test cases where we "just" use cl_git_sandbox_init()
      and cl_git_sandbox_cleanup(). These methods already take good care to not
      double delete a repository.
      
      Fixes #1096
      Sascha Cunz committed
  21. 09 Nov, 2012 1 commit
    • Rework checkout with new strategy options · ad9a921b
      This is a major reworking of checkout strategy options.  The
      checkout code is now sensitive to the contents of the HEAD tree
      and the new options allow you to update the working tree so that
      it will match the index content only when it previously matched
      the contents of the HEAD.  This allows you to, for example, to
      distinguish between removing files that are in the HEAD but not
      in the index, vs just removing all untracked files.
      
      Because of various corner cases that arise, etc., this required
      some additional capabilities in rmdir and other utility functions.
      
      This includes the beginnings of an implementation of code to read
      a partial tree into the index based on a pathspec, but that is
      not enabled because of the possibility of creating conflicting
      index entries.
      Russell Belfer committed
  22. 25 Oct, 2012 1 commit
  23. 20 Oct, 2012 3 commits
  24. 17 Sep, 2012 4 commits