1. 23 Jun, 2015 1 commit
  2. 03 Mar, 2015 2 commits
  3. 18 Feb, 2015 1 commit
  4. 03 Oct, 2014 1 commit
  5. 24 Sep, 2014 1 commit
  6. 18 Aug, 2014 1 commit
  7. 23 Apr, 2014 1 commit
    • Make checkout match diff for untracked/ignored dir · 37da3685
      When diff finds an untracked directory, it emulates Git behavior
      by looking inside the directory to see if there are any untracked
      items inside it. If there are only ignored items inside the dir,
      then diff considers it ignored, even if there is no direct ignore
      rule for it.
      
      Checkout was not copying this behavior - when it found an untracked
      directory, it just treated it as untracked.  Unfortunately, when
      combined with GIT_CHECKOUT_REMOVE_UNTRACKED, this made is seem that
      checkout (and stash, which uses checkout) was removing ignored
      items when you had only asked it to remove untracked ones.
      
      This commit moves the logic for advancing past an untracked dir
      while scanning for non-ignored items into an iterator helper fn,
      and uses that for both diff and checkout.
      Russell Belfer committed
  8. 22 Apr, 2014 2 commits
  9. 04 Mar, 2014 1 commit
  10. 05 Feb, 2014 1 commit
  11. 15 Jan, 2014 1 commit
  12. 14 Nov, 2013 1 commit
  13. 28 Sep, 2013 1 commit
  14. 17 Sep, 2013 2 commits
    • Add clar helper to create new commit from index · 155fa234
      There were a lot of places in the test code base that were creating
      a commit from the index on the current branch.  This just adds a
      helper to handle that case pretty easily.  There was only one test
      where this change ended up tweaking the test data, so pretty easy
      and mostly just a cleanup.
      Russell Belfer committed
    • No such thing as an orphan branch · 605da51a
      Unfortunately git-core uses the term "unborn branch" and "orphan
      branch" interchangeably. However, "orphan" is only really there for
      the checkout command, which has the `--orphan` option so it doesn't
      actually create the branch.
      
      Branches never have parents, so the distinction of a branch with no
      parents is odd to begin with. Crucially, the error messages deal with
      unborn branches, so let's use that.
      Carlos Martín Nieto committed
  15. 15 Apr, 2013 1 commit
  16. 09 Apr, 2013 1 commit
  17. 07 Mar, 2013 1 commit
  18. 12 Jan, 2013 1 commit
  19. 03 Jan, 2013 2 commits
  20. 27 Nov, 2012 1 commit
  21. 23 Nov, 2012 1 commit
    • Reset all static variables to NULL in clar's __cleanup · 9094d30b
      Without this change, any failed assertion in the second (or a later) test
      inside a test suite has a chance of double deleting memory, resulting in
      a heap corruption. See #1096 for details.
      
      This leaves alone the test cases where we "just" use cl_git_sandbox_init()
      and cl_git_sandbox_cleanup(). These methods already take good care to not
      double delete a repository.
      
      Fixes #1096
      Sascha Cunz committed
  22. 10 Nov, 2012 1 commit
  23. 09 Nov, 2012 1 commit
  24. 30 Oct, 2012 1 commit
  25. 26 Oct, 2012 1 commit