1. 08 Dec, 2015 1 commit
    • index: always queue `remove_entry` for removal · b057fdef
      When replacing an index with a new one, we need to iterate
      through all index entries in order to determine which entries are
      equal. When it is not possible to re-use old entries for the new
      index, we move it into a list of entries that are to be removed
      and thus free'd.
      
      When we encounter a non-zero error code, though, we skip adding
      the current index entry to the remove-queue. `INSERT_MAP_EX`,
      which is the function last run before adding to the remove-queue,
      may return a positive non-zero code that indicates what exactly
      happened while inserting the element. In this case we skip adding
      the entry to the remove-queue but still continue the current
      operation, leading to a leak of the current entry.
      
      Fix this by checking for a negative return value instead of a
      non-zero one when we want to add the current index entry to the
      remove-queue.
      Patrick Steinhardt committed
  2. 01 Dec, 2015 3 commits
  3. 30 Nov, 2015 5 commits
  4. 28 Nov, 2015 4 commits
  5. 25 Nov, 2015 17 commits
  6. 24 Nov, 2015 5 commits
  7. 23 Nov, 2015 1 commit
    • checkout: only consider nsecs when built that way · 25e84f95
      When examining the working directory and determining whether it's
      up-to-date, only consider the nanoseconds in the index entry when
      built with `GIT_USE_NSEC`.  This prevents us from believing that
      the working directory is always dirty when the index was originally
      written with a git client that uinderstands nsecs (like git 2.x).
      Edward Thomson committed
  8. 21 Nov, 2015 2 commits
  9. 20 Nov, 2015 2 commits