Skip to content

Commit af07b20

Browse files
pcloudsgitster
authored andcommitted
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>
1 parent aaa2680 commit af07b20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/commit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ static void determine_whence(struct wt_status *s)
170170
whence = FROM_MERGE;
171171
else if (file_exists(git_path("CHERRY_PICK_HEAD"))) {
172172
whence = FROM_CHERRY_PICK;
173-
if (file_exists(git_path("sequencer")))
173+
if (file_exists(git_path(SEQ_DIR)))
174174
sequencer_in_use = 1;
175175
}
176176
else

0 commit comments

Comments
 (0)