author | Jeff King <peff@peff.net> | |
Wed, 20 Aug 2008 17:55:33 +0000 (13:55 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 20 Aug 2008 20:30:49 +0000 (13:30 -0700) | ||
commit | 54988bdad7dc3f09e40752221c144bf470d73aa7 | |
tree | f0c09c0757f8cfe35aac8fb8065c21e321e92f38 | tree | snapshot |
parent | e276c26b4b65711c27e3ef37e732d41eeae42094 | commit | diff |
decorate: allow const objects to be decorated
We don't actually modify the struct object, so there is no
reason not to accept const versions (and this allows other
callsites, like the next patch, to use the decoration
machinery).
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
We don't actually modify the struct object, so there is no
reason not to accept const versions (and this allows other
callsites, like the next patch, to use the decoration
machinery).
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
decorate.c | diff | blob | history | |
decorate.h | diff | blob | history |