Commit c2dee0fcb0d247ecb3a48709ae1c57d1b935d2ae

Edward Thomson 2015-01-14T13:20:21

checkout: drop newline in error message

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/checkout.c b/src/checkout.c
index 1d29865..d3c403b 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);
 	}