X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=branch.h;h=b99c5a369e31a85d1fff822460e69a79d8c6102b;hb=5087aace2d5467046c7204e038009b30fdebbca6;hp=1285158dd4f26e5bbb0e0d7133055f168fee773f;hpb=110c511dbeff65f7ae92216cf1d976a9093d911f;p=git.git diff --git a/branch.h b/branch.h index 1285158dd..b99c5a369 100644 --- a/branch.h +++ b/branch.h @@ -13,7 +13,8 @@ * branch for (if any). */ void create_branch(const char *head, const char *name, const char *start_name, - int force, int reflog, enum branch_track track); + int force, int reflog, + int clobber_head, enum branch_track track); /* * Validates that the requested branch may be created, returning the @@ -46,4 +47,9 @@ void remove_branch_state(void); #define BRANCH_CONFIG_VERBOSE 01 extern void install_branch_config(int flag, const char *local, const char *origin, const char *remote); +/* + * Read branch description + */ +extern int read_branch_desc(struct strbuf *, const char *branch_name); + #endif