1
0
mirror of https://github.com/git/git.git synced 2024-10-18 21:48:33 +02:00

Merge branch 'ob/sequencer-reword-error-message'

Update an error message (which would probably never been seen).

* ob/sequencer-reword-error-message:
  sequencer: fix error message on failure to copy SQUASH_MSG
This commit is contained in:
Junio C Hamano 2023-09-13 10:07:57 -07:00
commit d070b77d25

@ -2319,7 +2319,7 @@ static int do_pick_commit(struct repository *r,
const char *dest = git_path_squash_msg(r);
unlink(dest);
if (copy_file(dest, rebase_path_squash_msg(), 0666)) {
res = error(_("could not rename '%s' to '%s'"),
res = error(_("could not copy '%s' to '%s'"),
rebase_path_squash_msg(), dest);
goto leave;
}