author | Daniel Barkalow <barkalow@iabervon.org> | |
Sun, 27 Apr 2008 17:39:24 +0000 (13:39 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 5 May 2008 00:41:44 +0000 (17:41 -0700) | ||
commit | e142a3c61d22c3a3c081cb2c693e4d3725c21522 | |
tree | f04f3e2ba47327027bafa728e914b7d64434c3c8 | tree | snapshot |
parent | e0aaa29ff324c40a6428d5cc26867392eedf94ad | commit | diff |
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>
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 | diff | blob | history | |
refs.h | diff | blob | history |