diff options
author | Junio C Hamano <junkio@cox.net> | 2006-02-22 17:47:10 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-22 19:10:26 -0800 |
commit | bd2afde8a38b97391b22afebf15c583fb0fffacb (patch) | |
tree | d2a4357e278f350999c1d991533016231d237abb /commit.c | |
parent | 6dc78e696b8597204b903073da932fc5ed0f419e (diff) | |
download | git-bd2afde8a38b97391b22afebf15c583fb0fffacb.tar.gz |
Give no terminating LF to error() function.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'commit.c')
-rw-r--r-- | commit.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -212,7 +212,8 @@ int parse_commit_buffer(struct commit *item, void *buffer, unsigned long size) if (memcmp(bufptr, "tree ", 5)) return error("bogus commit object %s", sha1_to_hex(item->object.sha1)); if (get_sha1_hex(bufptr + 5, parent) < 0) - return error("bad tree pointer in commit %s\n", sha1_to_hex(item->object.sha1)); + return error("bad tree pointer in commit %s", + sha1_to_hex(item->object.sha1)); item->tree = lookup_tree(parent); if (item->tree) n_refs++; |