diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2016-10-14 15:17:12 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-10-17 11:52:23 -0700 |
commit | 8a2a0f534141cf6d2fa63fe3f84acbc4763c6754 (patch) | |
tree | 0d345df5a852797b6520a267fa1d18284b98a2f3 /builtin | |
parent | ee624c0d3ff54e86a44cddf1d4ea6278b7a4f65c (diff) | |
download | git-8a2a0f534141cf6d2fa63fe3f84acbc4763c6754.tar.gz git-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c index 1cba3b75c..9fddb195c 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 |