rename "alternate_object_database" to "object_directory"
In preparation for unifying the handling of alt odb's and the normal repo object directory, let's use a more neutral name. This patch is purely mechanical, swapping the type name, and converting any variables named "alt" to "odb". There should be no functional change, but it will reduce the noise in subsequent diffs. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
b2ac148fae
commit
263db403fa
@ -78,10 +78,10 @@ static int count_cruft(const char *basename, const char *path, void *data)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int print_alternate(struct alternate_object_database *alt, void *data)
|
||||
static int print_alternate(struct object_directory *odb, void *data)
|
||||
{
|
||||
printf("alternate: ");
|
||||
quote_c_style(alt->path, NULL, stdout, 0);
|
||||
quote_c_style(odb->path, NULL, stdout, 0);
|
||||
putchar('\n');
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user