checkout: relocate --to's "no branch specified" check
[gitweb.git] / builtin / commit.c
index e108c5301564a86d396d72169f40cd24a9916a1f..3f02686800a3c964d40d1cdb22608c38d62039a9 100644 (file)
@@ -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