1. 02 Jul, 2013 2 commits
  2. 01 Jul, 2013 1 commit
  3. 30 Jun, 2013 1 commit
  4. 29 Jun, 2013 3 commits
  5. 28 Jun, 2013 2 commits
  6. 27 Jun, 2013 2 commits
  7. 26 Jun, 2013 1 commit
  8. 25 Jun, 2013 9 commits
  9. 24 Jun, 2013 11 commits
  10. 23 Jun, 2013 3 commits
  11. 22 Jun, 2013 1 commit
  12. 21 Jun, 2013 4 commits
    • Merge pull request #1665 from arrbee/checkout-target-directory · 5d669f0a
      Add target directory to checkout options
      Vicent Martí committed
    • Addition checkout target directory tests · d4f98ba4
      This adds additonal tests of the checkout target directory option
      including using it to dump data from bare repos.
      Russell Belfer committed
    • Loosen ensure_not_bare rules in checkout · 6a15e8d2
      With the new target directory option to checkout, the non-bareness
      of the repository should be checked much later in the parameter
      validation process - actually that check was already in place, but
      I was doing it redundantly in the checkout APIs.
      
      This removes the now unnecessary early check for bare repos.  It
      also adds some other parameter validation and makes it so that
      implied parameters can actually be passed as NULL (i.e. if you
      pass a git_index, you don't have to pass the git_repository - we
      can get it from index).
      Russell Belfer committed
    • Add target directory to checkout · 9094ae5a
      This adds the ability for checkout to write to a target directory
      instead of having to use the working directory of the repository.
      This makes it easier to do exports of repository data and the like.
      
      This is similar to, but not quite the same as, the --prefix option
      to `git checkout-index` (this will always be treated as a directory
      name, not just as a simple text prefix).
      
      As part of this, the workdir iterator was extended to take the
      path to the working directory as a parameter and fallback on the
      git_repository_workdir result only if it's not specified.
      
      Fixes #1332
      Russell Belfer committed