Skip to content

Commit 7c7f6d8

Browse files
committed
Merge branch 'jc/mv-d-to-d-error-message-fix' into maint-2.42
Typofix in an error message. * jc/mv-d-to-d-error-message-fix: mv: fix error for moving directory to another
2 parents 9d4a69f + c2cbefc commit 7c7f6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/mv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ int cmd_mv(int argc, const char **argv, const char *prefix)
305305
}
306306
if (S_ISDIR(st.st_mode)
307307
&& lstat(dst, &dest_st) == 0) {
308-
bad = _("cannot move directory over file");
308+
bad = _("destination already exists");
309309
goto act_on_entry;
310310
}
311311

0 commit comments

Comments
 (0)