status: contextually notify user about an initial commit
[gitweb.git] / builtin / commit.c
index 8d1cac0629e7079daeef57ac049c0c7d7549e6d0..3d614a2ace82a33b29e38c0d2252c9b87a64234e 100644 (file)
@@ -1648,6 +1648,7 @@ int cmd_commit(int argc, const char **argv, const char *prefix)
                usage_with_options(builtin_commit_usage, builtin_commit_options);
 
        status_init_config(&s, git_commit_config);
+       s.commit_template = 1;
        status_format = STATUS_FORMAT_NONE; /* Ignore status.short */
        s.colopts = 0;