Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-06-13 23:19:41 +0300
committerJunio C Hamano <gitster@pobox.com>2019-06-13 23:19:41 +0300
commitc4a38d161cbd3308825d7871d0f84f769aad04ab (patch)
tree7c2ea40857b1242030eff1a3cc4548941a152def /branch.h
parent89d1b573d73e7c93f2190a08ed9430f42104c10b (diff)
parentf3f8311ec76f9bcdc7e26a125e585eb4e473a8d2 (diff)
Merge branch 'nd/merge-quit'
"git merge" learned "--quit" option that cleans up the in-progress merge while leaving the working tree and the index still in a mess. * nd/merge-quit: merge: add --quit merge: remove drop_save() in favor of remove_merge_branch_state()
Diffstat (limited to 'branch.h')
-rw-r--r--branch.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/branch.h b/branch.h
index 6f38db14e9..064ee576f2 100644
--- a/branch.h
+++ b/branch.h
@@ -61,6 +61,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)
*/