diff options
author | Vicent Martà <tanoku@gmail.com> | 2012-05-10 10:38:10 +0200 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2012-05-18 01:25:57 +0200 |
commit | 29e948debe603d7dd33a171a0101352e6b133a7a (patch) | |
tree | 6ceeea89bc6f6174536b0005b8e2c87735b82a8e /src/diff_output.c | |
parent | 52695898e55f37cf657592dd9d7946c5a7938038 (diff) | |
download | libgit2-29e948debe603d7dd33a171a0101352e6b133a7a.tar.gz |
global: Change parameter ordering in API
Consistency is good.
Diffstat (limited to 'src/diff_output.c')
-rw-r--r-- | src/diff_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff_output.c b/src/diff_output.c index 4ad736e26..ba7ef8245 100644 --- a/src/diff_output.c +++ b/src/diff_output.c @@ -103,7 +103,7 @@ static int diff_output_cb(void *priv, mmbuffer_t *bufs, int len) static int update_file_is_binary_by_attr(git_repository *repo, git_diff_file *file) { const char *value; - if (git_attr_get(repo, 0, file->path, "diff", &value) < 0) + if (git_attr_get(&value, repo, 0, file->path, "diff") < 0) return -1; if (GIT_ATTR_FALSE(value)) |