diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2014-11-17 17:03:55 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2014-11-17 17:03:55 -0500 |
commit | 7f1b73b7c893ec84cb04870f30199b41519f1c4e (patch) | |
tree | f2647118dfdcc0ded85d0a5969ad6834dbecfc2d /src/push.h | |
parent | a4221ccb099a11c020797ee199af01caa3cdd017 (diff) | |
parent | aad638f3a1e4d98296c2ec9c4ed08f217a652c5c (diff) | |
download | libgit2-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.h | 6 |
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 { |