mirror of
https://github.com/git/git.git
synced 2024-11-27 20:14:30 +08: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:
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user