Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-09-13 20:07:57 +0300
committerJunio C Hamano <gitster@pobox.com>2023-09-13 20:07:57 +0300
commitd070b77d250e3b29b93dac2c39eb222ab49bce52 (patch)
treebe23513c86227a272ec20fb252efd4aef4325949 /sequencer.c
parent877c9919d6175585fba9904b3c38c8156c73f965 (diff)
parent82af2c639c4dc9a5311ec4ab97dff44a93d6798d (diff)
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
Diffstat (limited to 'sequencer.c')
-rw-r--r--sequencer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sequencer.c b/sequencer.c
index 9de2f30880..afebf7e37c 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -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;
}