summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2016-10-14 15:17:12 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-10-17 11:52:23 -0700
commit8a2a0f534141cf6d2fa63fe3f84acbc4763c6754 (patch)
tree0d345df5a852797b6520a267fa1d18284b98a2f3 /builtin
parentsequencer: use static initializers for replay_opts (diff)
downloadtgif-8a2a0f534141cf6d2fa63fe3f84acbc4763c6754.tar.xz
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 1cba3b75c8..9fddb195c5 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