summaryrefslogtreecommitdiff
path: root/builtin/worktree.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-08-22 12:34:12 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-08-22 12:34:12 -0700
commitd4b12b9e07eba2e4ec1eff38a4151c9302bd1e2c (patch)
tree271f503cb04bf43ae589dcc3182db19a194fc133 /builtin/worktree.c
parentMerge branch 'en/fast-import-merge-doc' (diff)
parentworktree remove: clarify error message on dirty worktree (diff)
downloadtgif-d4b12b9e07eba2e4ec1eff38a4151c9302bd1e2c.tar.xz
Merge branch 'sg/worktree-remove-errormsg'
Error message update/clarification. * sg/worktree-remove-errormsg: worktree remove: clarify error message on dirty worktree
Diffstat (limited to 'builtin/worktree.c')
-rw-r--r--builtin/worktree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/worktree.c b/builtin/worktree.c
index a5bb02b207..7f094f8170 100644
--- a/builtin/worktree.c
+++ b/builtin/worktree.c
@@ -880,7 +880,7 @@ static void check_clean_worktree(struct worktree *wt,
original_path);
ret = xread(cp.out, buf, sizeof(buf));
if (ret)
- die(_("'%s' is dirty, use --force to delete it"),
+ die(_("'%s' contains modified or untracked files, use --force to delete it"),
original_path);
close(cp.out);
ret = finish_command(&cp);