worktree.c: rewrite mark_current_worktree() to avoid strbuf
[gitweb.git] / builtin / commit.c
index c733ec98b7057b6310db6b364d5780170455dbaa..98e15276df3927e9b4af990d6514b2d511f731e7 100644 (file)
@@ -186,6 +186,7 @@ static void status_init_config(struct wt_status *s, config_fn_t fn)
        gitmodules_config();
        git_config(fn, s);
        determine_whence(s);
+       init_diff_ui_defaults();
        s->hints = advice_status_hints; /* must come after git_config() */
 }