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