summaryrefslogtreecommitdiff
path: root/copy.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2007-04-16 23:03:15 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-04-16 23:51:09 (GMT)
commita59b276e18f3d4a548caf549e05188cb1bd3a709 (patch)
tree2633d6fd7b33dddee9c1d7ed35d6061bffc957ba /copy.c
parent402fa75eed29c104ae5392ce88560f6bffc64ce7 (diff)
downloadgit-a59b276e18f3d4a548caf549e05188cb1bd3a709.zip
git-a59b276e18f3d4a548caf549e05188cb1bd3a709.tar.gz
git-a59b276e18f3d4a548caf549e05188cb1bd3a709.tar.bz2
Add a generic "object decorator" interface, and make object refs use it
This allows you to add an arbitrary "decoration" of your choice to any object. It's a space- and time-efficient way to add information to arbitrary objects, especially if most objects probably do not have the decoration. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'copy.c')
0 files changed, 0 insertions, 0 deletions