summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-01-14 13:20:21 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2015-01-16 18:50:01 -0500
commit186177a216bf458bff2506bfc8f5875288277e87 (patch)
tree8310bd81b19f0fae8df1d60840ae51e03ecfef18
parentdd3c53f15610decf14c76cfef448cc17eab4e7af (diff)
downloadlibgit2-186177a216bf458bff2506bfc8f5875288277e87.tar.gz
checkout: drop newline in error message
-rw-r--r--src/checkout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checkout.c b/src/checkout.c
index 996a658ad..4bf82b358 100644
--- a/src/checkout.c
+++ b/src/checkout.c
@@ -1326,7 +1326,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);
}