mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-21 18:03:54 +00:00
checkout: drop newline in error message
This commit is contained in:
parent
232bc89598
commit
c2dee0fcb0
@ -1422,7 +1422,7 @@ static int blob_content_to_link(
|
|||||||
|
|
||||||
if (data->can_symlink) {
|
if (data->can_symlink) {
|
||||||
if ((error = p_symlink(git_buf_cstr(&linktarget), path)) < 0)
|
if ((error = p_symlink(git_buf_cstr(&linktarget), path)) < 0)
|
||||||
giterr_set(GITERR_OS, "Could not create symlink %s\n", path);
|
giterr_set(GITERR_OS, "Could not create symlink %s", path);
|
||||||
} else {
|
} else {
|
||||||
error = git_futils_fake_symlink(git_buf_cstr(&linktarget), path);
|
error = git_futils_fake_symlink(git_buf_cstr(&linktarget), path);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user