Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2889b72

Browse files
ethomsonEdward Thomson
authored and
Edward Thomson
committed
checkout: drop newline in error message
1 parent 43ddf51 commit 2889b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/checkout.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ static int blob_content_to_link(
13511351

13521352
if (data->can_symlink) {
13531353
if ((error = p_symlink(git_buf_cstr(&linktarget), path)) < 0)
1354-
giterr_set(GITERR_OS, "Could not create symlink %s\n", path);
1354+
giterr_set(GITERR_OS, "Could not create symlink %s", path);
13551355
} else {
13561356
error = git_futils_fake_symlink(git_buf_cstr(&linktarget), path);
13571357
}

0 commit comments

Comments
 (0)