1. 30 Dec, 2016 1 commit
    • Fix handling of GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH flag. · 5f959dca
      git_checkout_tree() sets up its working directory iterator to respect the
      pathlist if GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH is present, which is great.
      What's not so great is that this iterator is then used side-by-side with
      an iterator created by git_checkout_iterator(), which did not set up its
      pathlist appropriately (although the iterator mirrors all other iterator
      options).
      
      This could cause git_checkout_tree() to delete working tree files which
      were not specified in the pathlist when GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH
      was used, as the unsynchronized iterators causes git_checkout_tree() to think
      that files have been deleted between the two trees.  Oops.
      
      And added a test which fails without this fix (specifically, the final check
      for "testrepo/README" to still be present fails).
      John Fultz committed
  2. 29 Dec, 2016 2 commits
  3. 27 Dec, 2016 1 commit
  4. 25 Dec, 2016 1 commit
  5. 20 Dec, 2016 6 commits
  6. 19 Dec, 2016 6 commits
  7. 18 Dec, 2016 2 commits
  8. 17 Dec, 2016 5 commits
  9. 16 Dec, 2016 2 commits
  10. 12 Dec, 2016 10 commits
  11. 07 Dec, 2016 2 commits
  12. 06 Dec, 2016 1 commit
  13. 04 Dec, 2016 1 commit