Code

Allow for having for_each_ref() list extra refs
authorDaniel Barkalow <barkalow@iabervon.org>
Sun, 27 Apr 2008 17:39:24 +0000 (13:39 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 May 2008 00:41:44 +0000 (17:41 -0700)
commite142a3c61d22c3a3c081cb2c693e4d3725c21522
treef04f3e2ba47327027bafa728e914b7d64434c3c8
parente0aaa29ff324c40a6428d5cc26867392eedf94ad
Allow for having for_each_ref() list extra refs

These refs can be anything, but they are most likely useful as
pointing to objects that you know are in the object database but don't
have any regular refs for. For example, when cloning with --reference,
the refs in this repository should be listed as objects that we have,
even though we don't have refs in our newly-created repository for
them yet.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
refs.h