summaryrefslogtreecommitdiff
path: root/include/git2/push.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-02-15 05:19:55 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2015-02-15 05:19:55 +0100
commit44cbc8dce03b1a7320c751360b1503c5fc5a6dac (patch)
tree2134ee28fd643db517959a0eb256c6afd54a3d16 /include/git2/push.h
parent57f45e7f4dd7202607f51292a816a262622e964c (diff)
downloadlibgit2-cmn/remote-options.tar.gz
Diffstat (limited to 'include/git2/push.h')
-rw-r--r--include/git2/push.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/git2/push.h b/include/git2/push.h
index ecabff397..77e4d0608 100644
--- a/include/git2/push.h
+++ b/include/git2/push.h
@@ -34,6 +34,19 @@ typedef struct {
* to create. The default value is 1.
*/
unsigned int pb_parallelism;
+ /**
+ * The refspecs to use for this push. Leave empty to use the
+ * base refspecs.
+ */
+ git_strarray refspecs;
+ /**
+ * Identity to use to update the reflog.
+ */
+ git_signature *signature;
+ /**
+ * The message to insert into the reflogs.
+ */
+ char *reflog_message;
} git_push_options;
#define GIT_PUSH_OPTIONS_VERSION 1