]> git.proxmox.com Git - libgit2.git/commit
Update diff callback param order
authorRussell Belfer <rb@github.com>
Wed, 21 Nov 2012 00:36:06 +0000 (16:36 -0800)
committerBen Straub <bs@github.com>
Tue, 27 Nov 2012 21:18:28 +0000 (13:18 -0800)
commit793c4385597d0786242e17c8ef37cdfa83f1865c
tree22e9b48db487577d865a174bc5b21a13a176c78f
parent54b2a37ac7715c74e5b06b76eb2b631987d7b6f8
Update diff callback param order

This makes the diff functions that take callbacks both take
the payload parameter after the callback function pointers and
pass the payload as the last argument to the callback function
instead of the first.  This should make them consistent with
other callbacks across the API.
15 files changed:
examples/diff.c
examples/general.c
include/git2/diff.h
src/diff_output.c
src/diff_output.h
src/stash.c
src/status.c
tests-clar/diff/blob.c
tests-clar/diff/diff_helpers.c
tests-clar/diff/diff_helpers.h
tests-clar/diff/index.c
tests-clar/diff/patch.c
tests-clar/diff/rename.c
tests-clar/diff/tree.c
tests-clar/diff/workdir.c