1. 04 Feb, 2014 3 commits
    • Convert pqueue to just be a git_vector · 882c7742
      This updates the git_pqueue to simply be a set of specialized
      init/insert/pop functions on a git_vector.
      
      To preserve the pqueue feature of having a fixed size heap, I
      converted the "sorted" field in git_vectors to a more general
      "flags" field so that pqueue could mix in it's own flag.  This
      had a bunch of ramifications because a number of places were
      directly looking at the vector "sorted" field - I added a couple
      new git_vector helpers (is_sorted, set_sorted) so the specific
      representation of this information could be abstracted.
      Russell Belfer committed
    • Add some priority queue tests · af4bc661
      I forgot that I wrote some tests for the new priority queue code.
      Russell Belfer committed
    • Replace pqueue with code from hashsig heap · 4075e060
      I accidentally wrote a separate priority queue implementation when
      I was working on file rename detection as part of the file hash
      signature calculation code.  To simplify licensing terms, I just
      adapted that to a general purpose priority queue and replace the
      old priority queue implementation that was borrowed from elsewhere.
      
      This also removes parts of the COPYING document that no longer
      apply to libgit2.
      Russell Belfer committed
  2. 31 Jan, 2014 4 commits
  3. 30 Jan, 2014 32 commits
  4. 29 Jan, 2014 1 commit
    • Two-phase index merging · 0972c592
      When three-way merging indexes, we previously changed each path
      as we read them, which would lead to us adding an index entry for
      'foo', then removing an index entry for 'foo/file'.  With the new
      index requirements, this is not allowed.  Removing entries in the
      merged index, then adding them, resolves this.  In the previous
      example, we now remove 'foo/file' before adding 'foo'.
      Edward Thomson committed