Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
wt-status: turn advice_status_hints into a field of wt_status
[gitweb.git]
/
builtin
/
commit.c
diff --git
a/builtin/commit.c
b/builtin/commit.c
index 94512c05bfa8a18170a27c73f5814ebeaf192a7c..28c6309d46a9135022ded5c6f230e971774c3415 100644
(file)
--- a/
builtin/commit.c
+++ b/
builtin/commit.c
@@
-169,6
+169,7
@@
static void status_init_config(struct wt_status *s, config_fn_t fn)
gitmodules_config();
git_config(fn, s);
determine_whence(s);
+ s->hints = advice_status_hints; /* must come after git_config() */
}
static void rollback_index_files(void)