diff options
author | Jeff King <peff@peff.net> | 2018-11-12 09:48:47 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-13 14:22:02 +0900 |
commit | 263db403face43927c2eb545a2e6ebb39aae4239 (patch) | |
tree | e851206ef0d532f642a0ec5d70105d9f30f427a3 /transport.c | |
parent | b2ac148faecc95243ed8da0b75f63966d828c802 (diff) | |
download | git-263db403face43927c2eb545a2e6ebb39aae4239.tar.gz |
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>
Diffstat (limited to 'transport.c')
-rw-r--r-- | transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transport.c b/transport.c index 5a74b609ff..040e92c134 100644 --- a/transport.c +++ b/transport.c @@ -1433,7 +1433,7 @@ struct alternate_refs_data { void *data; }; -static int refs_from_alternate_cb(struct alternate_object_database *e, +static int refs_from_alternate_cb(struct object_directory *e, void *data) { struct strbuf path = STRBUF_INIT; |