Skip to content

Commit d4b12b9

Browse files
committed
Merge branch 'sg/worktree-remove-errormsg'
Error message update/clarification. * sg/worktree-remove-errormsg: worktree remove: clarify error message on dirty worktree
2 parents 22e86e8 + 507e547 commit d4b12b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/worktree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ static void check_clean_worktree(struct worktree *wt,
880880
original_path);
881881
ret = xread(cp.out, buf, sizeof(buf));
882882
if (ret)
883-
die(_("'%s' is dirty, use --force to delete it"),
883+
die(_("'%s' contains modified or untracked files, use --force to delete it"),
884884
original_path);
885885
close(cp.out);
886886
ret = finish_command(&cp);

0 commit comments

Comments
 (0)