Skip to content

Commit a59dbae

Browse files
committed
Merge branch 'jc/mv-d-to-d-error-message-fix'
Typofix in an error message. * jc/mv-d-to-d-error-message-fix: mv: fix error for moving directory to another
2 parents 354356f + c2cbefc commit a59dbae

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)