X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fgit.git;a=blobdiff_plain;f=branch.h;h=df0be61506fd36a0bfb63a911ba532b5db495767;hp=6f38db14e9c496c55e204791e5ab0a5243186118;hb=0253e126a271f10dc1f1fc630193a4026ec8a7ee;hpb=33f2790ecafd29b8551a290e566003b975807c61 diff --git a/branch.h b/branch.h index 6f38db14e9..df0be61506 100644 --- a/branch.h +++ b/branch.h @@ -60,11 +60,17 @@ int validate_branchname(const char *name, struct strbuf *ref); */ int validate_new_branchname(const char *name, struct strbuf *ref, int force); +/* + * Remove information about the merge state on the current + * branch. (E.g., MERGE_HEAD) + */ +void remove_merge_branch_state(struct repository *r); + /* * Remove information about the state of working on the current * branch. (E.g., MERGE_HEAD) */ -void remove_branch_state(struct repository *r); +void remove_branch_state(struct repository *r, int verbose); /* * Configure local branch "local" as downstream to branch "remote"