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>

Nguyễn Thái Ngọc Duy committed Nov 30, 2014 at 15:24 UTC af07b20d515dce034d16062d9f6baa2e4b4bf7ae
1 file changed +1 -1
builtin/commit.c
+1 -1
@@ -170,7 +170,7 @@ static void determine_whence(struct wt_status *s)
170 whence = FROM_MERGE;
171 else if (file_exists(git_path("CHERRY_PICK_HEAD"))) {
172 whence = FROM_CHERRY_PICK;
173 - if (file_exists(git_path("sequencer")))
173 + if (file_exists(git_path(SEQ_DIR)))
174 sequencer_in_use = 1;
175 }
176 else