summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2016-10-14 13:17:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-10-17 18:52:23 (GMT)
commit8a2a0f534141cf6d2fa63fe3f84acbc4763c6754 (patch)
tree0d345df5a852797b6520a267fa1d18284b98a2f3 /builtin
parentee624c0d3ff54e86a44cddf1d4ea6278b7a4f65c (diff)
downloadgit-8a2a0f534141cf6d2fa63fe3f84acbc4763c6754.zip
git-8a2a0f534141cf6d2fa63fe3f84acbc4763c6754.tar.gz
git-8a2a0f534141cf6d2fa63fe3f84acbc4763c6754.tar.bz2
sequencer: use memoized sequencer directory path
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r--builtin/commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c
index 1cba3b7..9fddb19 100644
--- a/builtin/commit.c
+++ b/builtin/commit.c
@@ -183,7 +183,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(SEQ_DIR)))
+ if (file_exists(git_path_seq_dir()))
sequencer_in_use = 1;
}
else