sequencer: teach write_message() to append an optional LF
[gitweb.git] / builtin / commit.c
index 1cba3b75c8dc121cf86558aa96726ea99f28eba3..9fddb195c5588d651c8cd0c0b43ec11ab145f5ec 100644 (file)
@@ -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