mirror of
https://github.com/git/git
synced 2024-10-02 14:45:21 +00:00
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
This commit is contained in:
commit
7c7f6d828b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue