diff options
author | Ben Straub <bstraub@github.com> | 2012-06-05 12:52:44 -0700 |
---|---|---|
committer | Ben Straub <bstraub@github.com> | 2012-06-05 12:52:44 -0700 |
commit | 56a5000d580ef5c9605bc9076610b5af9aa67518 (patch) | |
tree | 4026c8333991fbe221a17b5d16e5e4b52f66cb20 /examples/diff.c | |
parent | e267c9fc1a4910d1081e97b4d7a411658ddc0def (diff) | |
parent | 01dbe273c9b6f86a613b67cee27212cf4bacf4c0 (diff) | |
download | libgit2-56a5000d580ef5c9605bc9076610b5af9aa67518.tar.gz |
Merge branch 'development' into rev-parse
Conflicts:
src/util.h
tests-clar/refs/branches/listall.c
Diffstat (limited to 'examples/diff.c')
-rw-r--r-- | examples/diff.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/diff.c b/examples/diff.c index 20e14e511..1b4ab549b 100644 --- a/examples/diff.c +++ b/examples/diff.c @@ -61,7 +61,13 @@ char *colors[] = { "\033[36m" /* cyan */ }; -int printer(void *data, char usage, const char *line) +int printer( + void *data, + git_diff_delta *delta, + git_diff_range *range, + char usage, + const char *line, + size_t line_len) { int *last_color = data, color = 0; |