refs: convert MERGE_AUTOSTASH to become a normal pseudo-ref
Similar to the preceding conversion of the AUTO_MERGE pseudo-ref, let's convert the MERGE_AUTOSTASH ref to become a normal pseudo-ref as well. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
35122daebc
commit
3f921c7591
2
branch.c
2
branch.c
@@ -819,7 +819,7 @@ void remove_merge_branch_state(struct repository *r)
|
||||
unlink(git_path_merge_mode(r));
|
||||
refs_delete_ref(get_main_ref_store(r), "", "AUTO_MERGE",
|
||||
NULL, REF_NO_DEREF);
|
||||
save_autostash(git_path_merge_autostash(r));
|
||||
save_autostash_ref(r, "MERGE_AUTOSTASH");
|
||||
}
|
||||
|
||||
void remove_branch_state(struct repository *r, int verbose)
|
||||
|
||||
Reference in New Issue
Block a user