1. 22 Feb, 2013 1 commit
  2. 27 Jan, 2013 1 commit
  3. 12 Jan, 2013 1 commit
  4. 08 Jan, 2013 1 commit
  5. 04 Jan, 2013 3 commits
    • Improve error propagation in stash · a6a82e1a
      Stash was sometimes obscuring the actual error code, replacing it
      with a -1 when there was more descriptive value.  This updates
      stash to preserve the original error code more reliably along
      with a variety of other error handling tweaks.
      
      I believe this is an improvement, but arguably, preserving the
      underlying error code may result in values that are harder to
      interpret by the caller who does not understand the internals.
      Discussion is welcome!
      Russell Belfer committed
    • Rework checkout internals (again) · cf208031
      I've tried to map out the detailed behaviors of checkout and make
      sure that we're handling the various cases correctly, along with
      providing options to allow us to emulate "git checkout" and "git
      checkout-index" with the various flags.  I've thrown away flags
      in the checkout API that seemed like clutter and added some new
      ones.  Also, I've converted the conflict callback to a general
      notification callback so we can emulate "git checkout" output and
      display "dirty" files.
      
      As of this commit, the new behavior is not working 100% but some
      of that is probably baked into tests that are not testing the
      right thing.  This is a decent snapshot point, I think, along the
      way to getting the update done.
      Russell Belfer committed
  6. 17 Dec, 2012 1 commit
    • Fix diff constructor name order confusion · 56c72b75
      The diff constructor functions had some confusing names, where the
      "old" side of the diff was coming after the "new" side.  This
      reverses the order in the function name to make it less confusing.
      
      Specifically...
      
      * git_diff_index_to_tree becomes git_diff_tree_to_index
      * git_diff_workdir_to_index becomes git_diff_index_to_workdir
      * git_diff_workdir_to_tree becomes git_diff_tree_to_workdir
      Russell Belfer committed
  7. 03 Dec, 2012 1 commit
  8. 01 Dec, 2012 1 commit
  9. 30 Nov, 2012 4 commits
  10. 27 Nov, 2012 4 commits
  11. 18 Nov, 2012 1 commit
  12. 15 Nov, 2012 2 commits
  13. 09 Nov, 2012 1 commit
    • Rework checkout with new strategy options · ad9a921b
      This is a major reworking of checkout strategy options.  The
      checkout code is now sensitive to the contents of the HEAD tree
      and the new options allow you to update the working tree so that
      it will match the index content only when it previously matched
      the contents of the HEAD.  This allows you to, for example, to
      distinguish between removing files that are in the HEAD but not
      in the index, vs just removing all untracked files.
      
      Because of various corner cases that arise, etc., this required
      some additional capabilities in rmdir and other utility functions.
      
      This includes the beginnings of an implementation of code to read
      a partial tree into the index based on a pathspec, but that is
      not enabled because of the possibility of creating conflicting
      index entries.
      Russell Belfer committed
  14. 01 Nov, 2012 1 commit
  15. 30 Oct, 2012 1 commit
  16. 26 Oct, 2012 3 commits