| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-08-08 | Remove uses of deprecated git_buf_free | Carlos Martín Nieto | |
| 2018-01-17 | diff: add two missing options | Carlos Martín Nieto | |
| 2017-07-08 | Second round of keep-alives | Carlos Martín Nieto | |
| 2016-08-27 | Merge remote-tracking branch 'upstream/master' into next | Carlos Martín Nieto | |
| 2016-06-19 | diff: Add DiffStats String | Travis Lane | |
| This implements git_diff_stats_to_buf which provides the output for git diff --stats. | |||
| 2016-03-29 | Add unimplemented diff delta/flag values. | Hans Rødtang | |
| 2016-03-29 | Add "Conflicted" git.Delta and git.Status. | Hans Rødtang | |
| 2016-03-11 | add DiffTreeToIndex | Hiroshi Ioka | |
| This is equivalent to `git diff --cached <treeish` or `diff --cached`. | |||
| 2016-02-17 | Upgrade to libgit2 to 0f9d15493d5d8ad4353dd7beed52c9567334f6e5 | Han-Wen Nienhuys | |
| 2015-06-29 | Add DiffBlobs | Carlos Martín Nieto | |
| This lets you diff two arbitrary blobs with arbitrary names. | |||
| 2015-06-29 | diff: remove unnecessary args to Hunk and Line ctors | Carlos Martín Nieto | |
| 2015-05-22 | diff: only untrack notify payload when it is set | Patrick Steinhardt | |
| 2015-05-22 | diff: use HandleList for C function callbacks. | Patrick Steinhardt | |
| 2015-03-23 | Add DiffIndexToWorkdir | Mark Probst | |
| 2015-03-23 | Add DiffTreeToWorkdirWithIndex | Mark Probst | |
| 2015-01-04 | Add git_diff_get_stats() | Henning Perl | |
| This commit adds git_diff_get_stats() as well as functions to query the stats for insertions, deletions, and changed files. | |||
| 2014-12-30 | heed DiffOptions fields OldPrefix and NewPrefix | Quinn Slack | |
| 2014-12-06 | Export PatchFromBuffers function. | Jose Alvarez | |
| This change also factor out diffOptionsToC function to remove duplicated code. | |||
| 2014-12-06 | Add the newer missing thread-locking instances | Carlos Martín Nieto | |
| 2014-12-06 | Add missing thread locking | Carlos Martín Nieto | |
| 2014-12-06 | Merge pull request #141 from jochil/git_diff_find_similar | Carlos Martín Nieto | |
| Integrated git_diff_find_similar | |||
| 2014-12-03 | Update to master | Carlos Martín Nieto | |
| 2014-11-26 | Integrated git_diff_find_similar | Jochen Hilgers | |
| 2014-11-13 | Expose DiffTreeToWorkdir function | joseferminj | |
| 2014-10-28 | Make the constants have types | Carlos Martín Nieto | |
| While Go will assign the correct type to a const block when it auto-creates the values, assigning makes the const be typeless and will only gain it in each particular use. Make each constant in the blocks have an assigned type. | |||
| 2014-04-04 | use cast_ptr instead of ptr for travis go tip build | Jesse Ezell | |
| 2014-03-26 | fix go 1.0 compile error | Jesse Ezell | |
| 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-21 | Allow diff.ForEach to enumerate files, hunks, and lines with single call. ↵ | Jesse Ezell | |
| Support use of closures for enumeration. | |||
| 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-26 | Actually type constants; unwrap DiffFile, DiffDelta, DiffHunk. | lye | |
| 2014-02-26 | Bundle consts more idiomatically; add GitLineType alias. | lye | |
| 2014-02-26 | Unwrap DiffLine; add types for git_diff_flag_t and git_delta_t. | lye | |
| 2014-02-23 | Pre-emptively copy data when marshalling diff callback data. | lye | |
| When marshalling diff callback data to Go structs, any `char*` need to be pre-emptively copied onto Go's heap as they're invalidated as soon as our callback function returns. This patch adds this extra copy before sending the value to the channel, which fixes a bug wherein `DiffLine.Content`, `DiffFile.Path` and `DiffHunk.Header` would previously return garbage data. | |||
| 2014-02-23 | Export the constants and enumerations for diffs. | lye | |
| It is possible that the typed enums from libgit2 should be exported as distinct types rather than numeric constants (e.g, `git_delta_t` and `git_line_t` should be typed), but this has not been done in this patch. | |||
| 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. | |||
