1. 02 Mar, 2012 8 commits
  2. 01 Mar, 2012 3 commits
  3. 29 Feb, 2012 2 commits
  4. 28 Feb, 2012 1 commit
  5. 27 Feb, 2012 9 commits
  6. 26 Feb, 2012 2 commits
  7. 25 Feb, 2012 2 commits
  8. 24 Feb, 2012 2 commits
    • A remote exists with an URL alone · 9554cd51
      We used to consider it an error if a remote didn't have at least a
      fetch refspec. This was too much checking, as a remote doesn't in fact
      need to have anything other than an URL configured to be considered
      a remote.
      Carlos Martín Nieto committed
    • Ensure that commits don't fail if committing content that already exists · 1db9d2c3
      Making a commit that results in a blob that already exists in the ODB (i.e.
      committing something, then making a revert commit) will result in us trying
      to p_rename -> MoveFileExW a temp file into the existing ODB entry. Despite
      the MOVEFILE_REPLACE_EXISTING flag is passed in, Win32 does not care and
      fails it with STATUS_ACCESS_DENIED.
      
      To fix this, we p_unlink the ODB entry before attempting to rename it. This
      call will typically fail, but we don't care, we'll let the p_rename fail if
      the file actually does exist and we couldn't delete it for some reason (ACLs,
      etc).
      Paul Betts committed
  9. 23 Feb, 2012 9 commits
  10. 22 Feb, 2012 2 commits
    • Fix iterators based on pull request feedback · 0534641d
      This update addresses all of the feedback in pull request #570.
      
      The biggest change was to create actual linked list stacks for
      storing the tree and workdir iterator state.  This cleaned up
      the code a ton.  Additionally, all of the static functions had
      their 'git_' prefix removed, and a lot of other unnecessary
      changes were removed from the original patch.
      Russell Belfer committed
    • Iterator improvements from diff implementation · da337c80
      This makes two changes to iterator behavior: first, advance
      can optionally do the work of returning the new current value.
      This is such a common pattern that it really cleans up usage.
      
      Second, for workdir iterators, this removes automatically
      iterating into directories.  That seemed like a good idea,
      but when an entirely new directory hierarchy is introduced
      into the workdir, there is no reason to iterate into it if
      there are no corresponding entries in the tree/index that it
      is being compared to.
      
      This second change actually wasn't a lot of code because not
      descending into directories was already the behavior for
      ignored directories.  This just extends that to all directories.
      Russell Belfer committed