diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-11-02 10:53:22 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-11-02 10:53:22 +0300 |
commit | 7c7f6d828b5001feb138dd91bec12bffcf57e508 (patch) | |
tree | 214bc5a2506395256468224d5d9879002e2c2f0f | |
parent | 9d4a69f852bc00adc45585f0b54f11e30bf50782 (diff) | |
parent | c2cbefc51023a9d919846afb5629910d014d231c (diff) |
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
-rw-r--r-- | builtin/mv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mv.c b/builtin/mv.c index 05e7156034..c596515ad0 100644 --- a/builtin/mv.c +++ b/builtin/mv.c @@ -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; } |