Skip to content

Commit 4777e17

Browse files
dschogitster
authored andcommitted
wt-status: begin error messages with lower-case
The previous code still followed the old git-pull.sh code which did not adhere to our new convention. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent d8cc92a commit 4777e17

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wt-status.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2265,15 +2265,15 @@ int require_clean_work_tree(const char *action, const char *hint, int ignore_sub
22652265

22662266
if (has_unstaged_changes(ignore_submodules)) {
22672267
/* TRANSLATORS: the action is e.g. "pull with rebase" */
2268-
error(_("Cannot %s: You have unstaged changes."), _(action));
2268+
error(_("cannot %s: You have unstaged changes."), _(action));
22692269
err = 1;
22702270
}
22712271

22722272
if (has_uncommitted_changes(ignore_submodules)) {
22732273
if (err)
2274-
error(_("Additionally, your index contains uncommitted changes."));
2274+
error(_("additionally, your index contains uncommitted changes."));
22752275
else
2276-
error(_("Cannot %s: Your index contains uncommitted changes."),
2276+
error(_("cannot %s: Your index contains uncommitted changes."),
22772277
_(action));
22782278
err = 1;
22792279
}

0 commit comments

Comments
 (0)