From: Nguyễn Thái Ngọc Duy Date: Sun, 30 Nov 2014 08:24:35 GMT Subject: [PATCH 10/34] commit: use SEQ_DIR instead of hardcoding "sequencer" Message-ID: <1417335899-27307-11-git-send-email-pclouds@gmail.com> In-Reply-To: <1417335899-27307-1-git-send-email-pclouds@gmail.com> Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/commit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/commit.c b/builtin/commit.c index e108c53..3f02686 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -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 -- 2.1.0.rc0.78.gc0d8480