Hash :
613d5eb9
Author :
Date :
2012-11-28T11:42:37
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
/*
* Copyright (C) 2009-2012 the libgit2 contributors
*
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_push_h__
#define INCLUDE_push_h__
#include "git2.h"
typedef struct push_spec {
char *lref;
char *rref;
git_oid loid;
git_oid roid;
bool force;
} push_spec;
typedef struct push_status {
bool ok;
char *ref;
char *msg;
} push_status;
struct git_push {
git_repository *repo;
git_packbuilder *pb;
git_remote *remote;
git_vector specs;
bool report_status;
/* report-status */
bool unpack_ok;
git_vector status;
};
#endif