From 8f0104ecc54db00a075310ab744a19eb60e3d740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Tue, 21 Apr 2015 22:10:36 +0200 Subject: Remove the callbacks struct from the remote Having the setting be different from calling its actions was not a great idea and made for the sake of the wrong convenience. Instead of that, accept either fetch options, push options or the callbacks when dealing with the remote. The fetch options are currently only the callbacks, but more options will be moved from setters and getters on the remote to the options. This does mean passing the same struct along the different functions but the typical use-case will only call git_remote_fetch() or git_remote_push() and so won't notice much difference. --- include/git2.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/git2.h') diff --git a/include/git2.h b/include/git2.h index cf6b5cb89..a1e78376f 100644 --- a/include/git2.h +++ b/include/git2.h @@ -40,7 +40,6 @@ #include "git2/pack.h" #include "git2/patch.h" #include "git2/pathspec.h" -#include "git2/push.h" #include "git2/rebase.h" #include "git2/refdb.h" #include "git2/reflog.h" -- cgit v1.2.1