Skip to content

Commit 5234b41

Browse files
committed
Merge branch 'tb/document-status-u-tradeoff' into maint
* tb/document-status-u-tradeoff: i18n: make the translation of -u advice in one go
2 parents 3a51467 + 6290117 commit 5234b41

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

wt-status.c

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,14 +1116,10 @@ void wt_status_print(struct wt_status *s)
11161116
if (advice_status_u_option && 2000 < s->untracked_in_ms) {
11171117
status_printf_ln(s, GIT_COLOR_NORMAL, "");
11181118
status_printf_ln(s, GIT_COLOR_NORMAL,
1119-
_("It took %.2f seconds to enumerate untracked files."
1120-
" 'status -uno'"),
1121-
s->untracked_in_ms / 1000.0);
1122-
status_printf_ln(s, GIT_COLOR_NORMAL,
1123-
_("may speed it up, but you have to be careful not"
1124-
" to forget to add"));
1125-
status_printf_ln(s, GIT_COLOR_NORMAL,
1126-
_("new files yourself (see 'git help status')."));
1119+
_("It took %.2f seconds to enumerate untracked files. 'status -uno'\n"
1120+
"may speed it up, but you have to be careful not to forget to add\n"
1121+
"new files yourself (see 'git help status')."),
1122+
s->untracked_in_ms / 1000.0);
11271123
}
11281124
} else if (s->commitable)
11291125
status_printf_ln(s, GIT_COLOR_NORMAL, _("Untracked files not listed%s"),

0 commit comments

Comments
 (0)