| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-03-21 | don't expose 3 different diff foreach methods. use structures instead of ↵ | Jesse Ezell | |
| pointers to structures for diff detail. add patch error code handling. trim excess data from diff structures. | |||
| 2014-03-20 | set ptr to nil after free | Jesse Ezell | |
| 2014-03-20 | refactor and cleanup code | Jesse Ezell | |
| 2014-03-20 | cleanup and refactor diff / patch | Jesse Ezell | |
| 2014-02-20 | Add partial diff/patch functionality. | lye | |
| This commit adds barebones capacity to generate diffs from two trees and to emit those as git-style diffs (via `Patch.String`), or to enumerate the files/hunks/lines in the diff to emit the data yourself. The walk functions have been implemented in the same manner as the Odb walking methods. Note that not all of the functionality is implemented for either the `git_diff_*` nor the `git_patch_*` functions, and there are unexposed constants which would likely be useful to add. | |||
