summaryrefslogtreecommitdiff
path: root/src/checkout.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-01-14 13:20:21 -0500
committerEdward Thomson <ethomson@microsoft.com>2015-01-20 17:13:20 -0600
commitc2dee0fcb0d247ecb3a48709ae1c57d1b935d2ae (patch)
treeaa2ab6fe0bb68eef41908b1e0bfe94436e584ab2 /src/checkout.c
parent232bc89598947823e57431df63a5d6d41ad218c3 (diff)
downloadlibgit2-c2dee0fcb0d247ecb3a48709ae1c57d1b935d2ae.tar.gz
checkout: drop newline in error message
Diffstat (limited to 'src/checkout.c')
-rw-r--r--src/checkout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checkout.c b/src/checkout.c
index 1d29865a1..d3c403b03 100644
--- a/src/checkout.c
+++ b/src/checkout.c
@@ -1422,7 +1422,7 @@ static int blob_content_to_link(
if (data->can_symlink) {
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 {
error = git_futils_fake_symlink(git_buf_cstr(&linktarget), path);
}