summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2014-11-30 08:24:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-12-01 19:00:12 (GMT)
commitaf07b20d515dce034d16062d9f6baa2e4b4bf7ae (patch)
tree6a194cce6e18fb1aea31a91fd29ca6b6cd9c7c1d /builtin/commit.c
parentaaa26805add2a8dedf00dda94c816b60479381c6 (diff)
downloadgit-af07b20d515dce034d16062d9f6baa2e4b4bf7ae.zip
git-af07b20d515dce034d16062d9f6baa2e4b4bf7ae.tar.gz
git-af07b20d515dce034d16062d9f6baa2e4b4bf7ae.tar.bz2
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>
Diffstat (limited to 'builtin/commit.c')
-rw-r--r--builtin/commit.c2
1 files changed, 1 insertions, 1 deletions
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