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
This commit is contained in:
Junio C Hamano
2023-08-29 13:51:43 -07:00

View File

@ -305,7 +305,7 @@ int cmd_mv(int argc, const char **argv, const char *prefix)
}
if (S_ISDIR(st.st_mode)
&& lstat(dst, &dest_st) == 0) {
bad = _("cannot move directory over file");
bad = _("destination already exists");
goto act_on_entry;
}