diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-04-04 15:57:19 +0200 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-04-10 21:39:03 +0200 |
commit | 731df57080704183cad128c17fd065e5e25fa886 (patch) | |
tree | 52dc19eeb977dd1459c0e770c9be7da08ad785b5 /src/branch.h | |
parent | 79fd42301e80c1f787ee9e9b83dc5159ae12854a (diff) | |
download | libgit2-731df57080704183cad128c17fd065e5e25fa886.tar.gz |
Add basic branch management API: git_branch_create(), git_branch_delete(), git_branch_list()
Diffstat (limited to 'src/branch.h')
-rw-r--r-- | src/branch.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/branch.h b/src/branch.h new file mode 100644 index 000000000..d0e5abc8b --- /dev/null +++ b/src/branch.h @@ -0,0 +1,17 @@ +/* + * 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_branch_h__ +#define INCLUDE_branch_h__ + +#include "git2/branch.h" + +struct git_branch { + char *remote; /* TODO: Make this a git_remote */ + char *merge; +}; + +#endif |