summaryrefslogtreecommitdiff
path: root/src/push.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2014-11-17 17:03:55 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2014-11-17 17:03:55 -0500
commit7f1b73b7c893ec84cb04870f30199b41519f1c4e (patch)
treef2647118dfdcc0ded85d0a5969ad6834dbecfc2d /src/push.h
parenta4221ccb099a11c020797ee199af01caa3cdd017 (diff)
parentaad638f3a1e4d98296c2ec9c4ed08f217a652c5c (diff)
downloadlibgit2-7f1b73b7c893ec84cb04870f30199b41519f1c4e.tar.gz
Merge pull request #2693 from libgit2/cmn/push-refspec-refactor
push: use the common refspec parser
Diffstat (limited to 'src/push.h')
-rw-r--r--src/push.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/push.h b/src/push.h
index 6c8bf7229..68fa868dd 100644
--- a/src/push.h
+++ b/src/push.h
@@ -8,15 +8,13 @@
#define INCLUDE_push_h__
#include "git2.h"
+#include "refspec.h"
typedef struct push_spec {
- char *lref;
- char *rref;
+ struct git_refspec refspec;
git_oid loid;
git_oid roid;
-
- bool force;
} push_spec;
typedef struct push_status {