Skip to content

Commit

Permalink
commit: use SEQ_DIR instead of hardcoding "sequencer"
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
pclouds authored and gitster committed Dec 1, 2014
1 parent aaa2680 commit af07b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/commit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit af07b20

Please sign in to comment.