Merge branch 'ab/deprecate-R-for-dynpath'
[gitweb.git] / branch.h
index f1f74d21e423e0c7872c092296c0f75a1bbe75a9..064ee576f29764637dfdc62141973e935f8fd488 100644 (file)
--- a/branch.h
+++ b/branch.h
@@ -60,6 +60,12 @@ 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)
@@ -92,6 +98,6 @@ void die_if_checked_out(const char *branch, int ignore_current_worktree);
  * otherwise.
  */
 int replace_each_worktree_head_symref(const char *oldref, const char *newref,
-                                            const char *logmsg);
+                                     const char *logmsg);
 
 #endif