commit: use SEQ_DIR instead of hardcoding "sequencer"
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
aaa26805ad
commit
af07b20d51
@ -170,7 +170,7 @@ static void determine_whence(struct wt_status *s)
|
|||||||
whence = FROM_MERGE;
|
whence = FROM_MERGE;
|
||||||
else if (file_exists(git_path("CHERRY_PICK_HEAD"))) {
|
else if (file_exists(git_path("CHERRY_PICK_HEAD"))) {
|
||||||
whence = FROM_CHERRY_PICK;
|
whence = FROM_CHERRY_PICK;
|
||||||
if (file_exists(git_path("sequencer")))
|
if (file_exists(git_path(SEQ_DIR)))
|
||||||
sequencer_in_use = 1;
|
sequencer_in_use = 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user