summaryrefslogtreecommitdiff
path: root/odb_test.go
diff options
context:
space:
mode:
authorlye <lye@>2014-02-20 00:25:30 -0600
committerlye <lye@>2014-02-20 00:29:03 -0600
commitbc80beb8432091bdf1190ad6b803060324802685 (patch)
tree85b6032da7874910ef10981e9fb2e87430169f00 /odb_test.go
parent66e1c476199ebcd3e304659992233132c5a52c6c (diff)
Add partial diff/patch functionality.
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.
Diffstat (limited to 'odb_test.go')
0 files changed, 0 insertions, 0 deletions