1. 23 May, 2020 1 commit
  2. 07 Feb, 2020 1 commit
  3. 18 Jul, 2019 1 commit
  4. 22 Jan, 2019 1 commit
  5. 01 Dec, 2018 2 commits
  6. 06 Jul, 2018 1 commit
  7. 10 Jun, 2018 1 commit
  8. 28 Feb, 2016 1 commit
  9. 12 Feb, 2016 1 commit
  10. 03 Nov, 2015 1 commit
    • diff: test "symlinks" in wd are respected on win32 · f20480ab
      When `core.symlinks = false`, we write the symlinks content (target)
      to a regular file.  We should ensure that when we later see that
      regular file, we treat it specially - and that changing that regular
      file would actually change the symlink target.  (For compatibility
      with Git for Windows).
      Edward Thomson committed
  11. 21 Oct, 2015 1 commit
  12. 12 Sep, 2015 1 commit
  13. 31 Aug, 2015 1 commit
    • iterator: saner pathlist matching for idx iterator · d53c8880
      Some nicer refactoring for index iteration walks.
      
      The index iterator doesn't binary search through the pathlist space,
      since it lacks directory entries, and would have to binary search
      each index entry and all its parents (eg, when presented with an index
      entry of `foo/bar/file.c`, you would have to look in the pathlist for
      `foo/bar/file.c`, `foo/bar` and `foo`).  Since the index entries and the
      pathlist are both nicely sorted, we walk the index entries in lockstep
      with the pathlist like we do for other iteration/diff/merge walks.
      Edward Thomson committed
  14. 30 Aug, 2015 1 commit
    • diff: use new iterator pathlist handling · 4a0dbeb0
      When using literal pathspecs in diff with `GIT_DIFF_DISABLE_PATHSPEC_MATCH`
      turn on the faster iterator pathlist handling.
      
      Updates iterator pathspecs to include directory prefixes (eg, `foo/`)
      for compatibility with `GIT_DIFF_DISABLE_PATHSPEC_MATCH`.
      Edward Thomson committed
  15. 29 Aug, 2015 1 commit
  16. 26 Jun, 2015 2 commits
  17. 23 Jun, 2015 1 commit
  18. 22 Jun, 2015 1 commit
    • diff: check files with the same or newer timestamps · ff475375
      When a file on the workdir has the same or a newer timestamp than the
      index, we need to perform a full check of the contents, as the update of
      the file may have happened just after we wrote the index.
      
      The iterator changes are such that we can reach inside the workdir
      iterator from the diff, though it may be better to have an accessor
      instead of moving these structs into the header.
      Carlos Martín Nieto committed
  19. 16 Jun, 2015 1 commit
  20. 12 Jun, 2015 1 commit
    • diff: introduce binary diff callbacks · 8147b1af
      Introduce a new binary diff callback to provide the actual binary
      delta contents to callers.  Create this data from the diff contents
      (instead of directly from the ODB) to support binary diffs including
      the workdir, not just things coming out of the ODB.
      Edward Thomson committed
  21. 02 Jun, 2015 1 commit
  22. 28 May, 2015 1 commit
  23. 27 May, 2014 1 commit
  24. 16 May, 2014 1 commit
  25. 02 May, 2014 7 commits
  26. 25 Mar, 2014 1 commit
    • Update behavior for untracked sub-repos · d3bc95fd
      When a directory containing a .git directory (or even just a plain
      gitlink) was found, libgit2 was going out of its way to treat it
      specially.  This seemed like it was necessary because the diff
      code was not originally emulating Git's behavior for untracked
      directories correctly (i.e. scanning for ignored vs untracked items
      inside).  Now that libgit2 diff mimics Git's untracked directory
      behavior, the special handling for contained Git repos is actually
      incorrect and this commit rips it out.
      Russell Belfer committed
  27. 22 Jan, 2014 1 commit
    • Drop git_patch_to_str · c05cd792
      It's hard or even impossible to correctly free the string buffer
      allocated by git_patch_to_str in some circumstances. Drop the function
      so people have to use git_patch_to_buf instead - git_buf has a dedicated
      destructor.
      Nicolas Hake committed
  28. 14 Nov, 2013 1 commit
  29. 05 Nov, 2013 1 commit
  30. 02 Nov, 2013 1 commit
  31. 01 Nov, 2013 2 commits