summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-01-14 13:20:21 -0500
committerEdward Thomson <ethomson@microsoft.com>2015-01-19 13:28:31 -0600
commit2889b724cc7b37c0a0b6d9d402ecd4f04e7b2560 (patch)
treea34498705c40ce8c79a720e8ed9dfe600e0c76c7
parent43ddf51a6f08d33db4777d688073be2dc4257ad7 (diff)
downloadlibgit2-2889b724cc7b37c0a0b6d9d402ecd4f04e7b2560.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 9ade1552f..6bd2c0a8c 100644
--- a/src/checkout.c
+++ b/src/checkout.c
@@ -1351,7 +1351,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);
}