diff options
Diffstat (limited to 'git.h')
-rw-r--r-- | git.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -11,6 +11,7 @@ typedef struct pull_request pull_request; typedef struct file file; typedef struct comment comment; typedef struct git_branch git_branch; +typedef struct git_repo git_repo; struct file { char *name; /* Name of file. */ @@ -30,6 +31,11 @@ struct git_branch { char *repo; /* Path, or URL to local, or remote repository. */ }; +struct git_repo { + char *name; /* Name of git repository. */ + git_repository *repo; /* Git repository. */ +}; + struct pull_request { char *title; /* Title of the pull request. */ char *desc; /* Description of the pull request. */ |