1. 14 Nov, 2017 1 commit
  2. 04 Nov, 2016 1 commit
    • branch: fix forced branch creation on HEAD of a bare repo · f9793884
      The code correctly detects that forced creation of a branch on a
      nonbare repo should not be able to overwrite a branch which is
      the HEAD reference.  But there's no reason to prevent this on
      a bare repo, and in fact, git allows this.  I.e.,
      
         git branch -f master new_sha
      
      works on a bare repo with HEAD set to master.  This change fixes
      that problem, and updates tests so that, for this case, both the
      bare and nonbare cases are checked for correct behavior.
      John Fultz committed
  3. 16 Mar, 2015 1 commit
  4. 04 Mar, 2015 1 commit
  5. 03 Mar, 2015 2 commits
  6. 03 Feb, 2015 1 commit
  7. 30 May, 2014 1 commit
  8. 08 May, 2014 2 commits
    • Don't always test composed-insensitive lookups · 8a2ef218
      Only on a filesystem that is composed/decomposed insensitive,
      should be testing that a branch can be looked up by the opposite
      form and still work correctly.
      Russell Belfer committed
    • Pass unconverted data when iconv doesn't like it · 43a04135
      When using Iconv to convert unicode data and iconv doesn't like
      the source data (because it thinks that it's not actual UTF-8),
      instead of stopping the operation, just use the unconverted data.
      This will generally do the right thing on the filesystem, since
      that is the source of the non-UTF-8 path data anyhow.
      
      This adds some tests for creating and looking up branches with
      messy Unicode names.  Also, this takes the helper function that
      was previously internal to `git_repository_init` and makes it
      into `git_path_does_fs_decompose_unicode` which is a useful in
      tests to understand what the expected results should be.
      Russell Belfer committed
  9. 02 May, 2014 1 commit
  10. 02 Mar, 2014 1 commit
  11. 03 Feb, 2014 1 commit
  12. 31 Jan, 2014 1 commit
  13. 30 Jan, 2014 5 commits
  14. 09 Dec, 2013 1 commit
  15. 14 Nov, 2013 1 commit
  16. 01 Dec, 2012 1 commit
  17. 27 Nov, 2012 3 commits
  18. 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
  19. 11 Oct, 2012 1 commit
  20. 27 Jul, 2012 1 commit
  21. 24 Jul, 2012 2 commits
  22. 11 Apr, 2012 1 commit
  23. 10 Apr, 2012 1 commit