diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-05-02 13:53:35 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-02 13:53:35 -0700 |
commit | 2fa4fff4b9ba9998685c0b38cbadb49ac38734ce (patch) | |
tree | e82c022130c637a6892b11843e5a89178c032908 /fsck.c | |
parent | 29c2a3dbadaa1c2d1128a4892241f82f5b34778c (diff) | |
parent | 5eaeda70de1e7763d070e8ccfbcd8ca10baea800 (diff) | |
download | git-2fa4fff4b9ba9998685c0b38cbadb49ac38734ce.tar.gz |
Merge branch 'pw/message-cleanup'
Many error/warning messages had extra trailing newlines that are
unnecessary.
By Pete Wyckoff
* pw/message-cleanup:
remove blank filename in error message
remove superfluous newlines in error messages
Diffstat (limited to 'fsck.c')
-rw-r--r-- | fsck.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ static int fsck_walk_tree(struct tree *tree, fsck_walk_func walk, void *data) else if (S_ISREG(entry.mode) || S_ISLNK(entry.mode)) result = walk(&lookup_blob(entry.sha1)->object, OBJ_BLOB, data); else { - result = error("in tree %s: entry %s has bad mode %.6o\n", + result = error("in tree %s: entry %s has bad mode %.6o", sha1_to_hex(tree->object.sha1), entry.path, entry.mode); } if (result < 0) |