fsck.c:fsck_ident(): ident points at a const string
authorYuxuan Shui <yshuiv7@gmail.com>
Thu, 13 Mar 2014 04:45:50 +0000 (12:45 +0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Mar 2014 20:00:30 +0000 (13:00 -0700)
commitde42180f6a645491c7ca8683ff2d5060f85f0c51
tree619eeebcf614f9c4c33a57e0afcbb916caa56dd8
parent5f95c9f850b19b368c43ae399cc831b17a26a5ac
fsck.c:fsck_ident(): ident points at a const string

Since fsck_ident doesn't change the content of **ident, the type of
ident could be const char **.

This change is required to rewrite fsck_commit() to use skip_prefix().

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fsck.c