1. 15 May, 2013 1 commit
  2. 07 Mar, 2013 1 commit
  3. 05 Feb, 2013 1 commit
  4. 08 Jan, 2013 1 commit
  5. 06 Jan, 2013 1 commit
  6. 04 Jan, 2013 3 commits
    • Reorder operations in git reset · bfe7d7de
      This corrects the order of operations in git reset so that the
      checkout to reset the working directory content is done before
      the HEAD is moved.  This allows us to use the HEAD and the index
      content to know what files can / should safely be reset.
      
      Unfortunately, there are still some cases where the behavior of
      this revision differs from core git.  Notable, a file which has
      been added to the index but is not present in the HEAD is
      considered to be tracked by core git (and thus removable by a
      reset command) whereas since this loads the target state into
      the index prior to resetting, it will consider such a file to be
      untracked and won't touch it.  That is a larger fix that I'll
      defer to a future commit.
      Russell Belfer committed
  7. 03 Jan, 2013 1 commit
  8. 30 Nov, 2012 1 commit
  9. 27 Nov, 2012 2 commits
  10. 15 Nov, 2012 1 commit
    • Add explicit git_index ptr to diff and checkout · bbe6dbec
      A number of diff APIs and the `git_checkout_index` API take a
      `git_repository` object an operate on the index.  This updates
      them to take a `git_index` pointer explicitly and only fall back
      on the `git_repository` index if the index input is NULL.  This
      makes it easier to operate on a temporary index.
      Russell Belfer committed
  11. 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
  12. 25 Oct, 2012 2 commits
  13. 22 Oct, 2012 1 commit
  14. 20 Oct, 2012 2 commits
  15. 15 Oct, 2012 1 commit
  16. 07 Oct, 2012 1 commit
  17. 17 Sep, 2012 2 commits
  18. 06 Sep, 2012 1 commit
  19. 27 Aug, 2012 1 commit
    • Make git_object_peel a bit smarter · d8057a5b
      This expands the types of peeling that `git_object_peel` knows
      how to do to include TAG -> BLOB peeling, and makes the errors
      slightly more consistent depending on the situation.  It also
      adds a new special behavior where peeling to ANY will peel until
      the object type changes (e.g. chases TAGs to a non-TAG).
      
      Using this expanded peeling, this replaces peeling code that was
      embedded in `git_tag_peel` and `git_reset`.
      Russell Belfer committed
  20. 30 Jul, 2012 1 commit
  21. 07 Jun, 2012 1 commit