diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-08-29 13:51:43 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-08-29 13:51:43 -0700 |
| commit | a59dbae0b3bdacfc7ebad40f784f38d6333e8608 (patch) | |
| tree | fe9a3d14958ddd0ef0a18e866bbe61bb3d67ab64 | |
| parent | 354356feffed7b3c72d62cd78fc7575efd5bad42 (diff) | |
| parent | c2cbefc51023a9d919846afb5629910d014d231c (diff) | |
| download | git-a59dbae0b3bdacfc7ebad40f784f38d6333e8608.tar.xz | |
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
| -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; } |
