diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-11-02 16:53:22 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-11-02 16:53:22 +0900 |
| commit | 7c7f6d828b5001feb138dd91bec12bffcf57e508 (patch) | |
| tree | 214bc5a2506395256468224d5d9879002e2c2f0f | |
| parent | Merge branch 'ja/worktree-orphan' into maint-2.42 (diff) | |
| parent | mv: fix error for moving directory to another (diff) | |
| download | git-7c7f6d828b5001feb138dd91bec12bffcf57e508.tar.gz git-7c7f6d828b5001feb138dd91bec12bffcf57e508.zip | |
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; } |
