rev-list.c: fix non-grammatical comments.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
@ -255,8 +255,8 @@ static void show_commit_list(struct commit_list *list)
|
|||||||
die("unknown pending object %s (%s)", sha1_to_hex(obj->sha1), name);
|
die("unknown pending object %s (%s)", sha1_to_hex(obj->sha1), name);
|
||||||
}
|
}
|
||||||
while (objects) {
|
while (objects) {
|
||||||
/* An object with name "foo\n0000000000000000000000000000000000000000"
|
/* An object with name "foo\n0000000..." can be used to
|
||||||
* can be used confuse downstream git-pack-objects very badly.
|
* confuse downstream git-pack-objects very badly.
|
||||||
*/
|
*/
|
||||||
const char *ep = strchr(objects->name, '\n');
|
const char *ep = strchr(objects->name, '\n');
|
||||||
if (ep) {
|
if (ep) {
|
||||||
|
Reference in New Issue
Block a user