Fix minor DOS in rev-list.
commitc807f771947de65dceb22960d1a093d702f42105
authorJunio C Hamano <junkio@cox.net>
Mon, 3 Oct 2005 00:29:21 +0000 (2 17:29 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 3 Oct 2005 00:29:21 +0000 (2 17:29 -0700)
treec719f13a676484600e41e99f30087498ccd6725b
parent91dd674e30ba0298e89c9be2657024805170c2ac
Fix minor DOS in rev-list.

A carefully crafted pathname can be used to disrupt downstream git-pack-objects
that uses 'git-rev-list --objects' output.  Prevent this.

Signed-off-by: Junio C Hamano <junkio@cox.net>
rev-list.c