Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sg/worktree-remove-errormsg'
author
Junio C Hamano
<gitster@pobox.com>
Thu, 22 Aug 2019 19:34:12 +0000
(12:34 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 22 Aug 2019 19:34:12 +0000
(12:34 -0700)
Error message update/clarification.
* sg/worktree-remove-errormsg:
worktree remove: clarify error message on dirty worktree
builtin/worktree.c
patch
|
blob
|
history
raw
(from parent 1:
22e86e8
)
diff --git
a/builtin/worktree.c
b/builtin/worktree.c
index a5bb02b2076a27a78947fda25c1e16dafd637622..7f094f8170ae7d55d453a2b0ab5db933ddf395ba 100644
(file)
--- 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);