diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-08-22 12:34:12 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-08-22 12:34:12 -0700 |
commit | d4b12b9e07eba2e4ec1eff38a4151c9302bd1e2c (patch) | |
tree | 271f503cb04bf43ae589dcc3182db19a194fc133 /builtin/worktree.c | |
parent | Merge branch 'en/fast-import-merge-doc' (diff) | |
parent | worktree remove: clarify error message on dirty worktree (diff) | |
download | tgif-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.c | 2 |
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); |