1. 09 Jan, 2013 1 commit
    • Resolve crash with diff against empty file · de590550
      It is not legal inside our `p_mmap` function to mmap a zero length
      file.  This adds a test that exercises that case inside diff and
      fixes the code path where we would try to do that.
      
      The fix turns out not to be a lot of code since our default file
      content is already initialized to "" which works in this case.
      
      Fixes #1210
      Russell Belfer committed
  2. 08 Jan, 2013 7 commits
  3. 07 Jan, 2013 8 commits
  4. 06 Jan, 2013 14 commits
  5. 05 Jan, 2013 9 commits
  6. 04 Jan, 2013 1 commit
    • Fix checkout of index-only dirs and prefixed paths · 817d6251
      There are a couple of checkout bugs fixed here.  One is with
      untracked working directory entries that are prefixes of tree
      entries but not in a meaningful way (i.e. "read" is a prefix of
      "readme.txt" but doesn't interfere in any way).  The second bug
      is actually a redo of 07edfa0fc640f85f95507c3101e77accd7d2bf0d
      where directory entries in the index that are not in the diff
      were not being removed correctly.  That fix remedied one case
      but broke another.
      Russell Belfer committed