1. 16 May, 2014 1 commit
  2. 15 May, 2014 5 commits
  3. 14 May, 2014 3 commits
  4. 13 May, 2014 11 commits
  5. 12 May, 2014 6 commits
  6. 09 May, 2014 8 commits
  7. 08 May, 2014 6 commits
    • Disable threads::refdb::edit_while_iterate test · bb45e390
      It seems that with the various recent changes to reference updating
      and reflog writing, that the thread safety of refdb updates has
      been reduced (either that or it was never thread safe and the
      window for error has increased).  Either way, this test is now
      sometimes segfaulting which is no good, so let's disable the test
      for now.  We don't really make any public promises about thread
      safety for this type of operation, so I think this is acceptable,
      at least in the short term.
      Russell Belfer committed
    • 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
    • Allow cl_repo_get_bool to work with missing key · be20ac5a
      One of the test helpers provides a quick way for looking up a
      boolean key.  But if the key way missing completely, the check
      would actually raise an error.  Given the way we use this helper,
      if the key is missing, this should just return false, I think.
      Russell Belfer committed
    • Merge pull request #2335 from libgit2/cmn/indexer-vector-handling · 4df53a64
      indexer: avoid memory moves
      Vicent Marti 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
    • indexer: avoid memory moves · 2dde1e0c
      Our vector does a move of the rest of the array when we remove an
      item. Doing this repeatedly can be expensive, and we do this a lot in
      the indexer. Instead, set the value to NULL and skip those entries.
      
      perf reported around 30% of `index-pack` time was going into
      memmove. With this change, that goes away and we spent most of the time
      hashing and inflating data.
      Carlos Martín Nieto committed