diff options
author | Jeff King <peff@peff.net> | 2018-11-12 15:48:47 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-13 06:22:02 +0100 |
commit | 263db403face43927c2eb545a2e6ebb39aae4239 (patch) | |
tree | e851206ef0d532f642a0ec5d70105d9f30f427a3 /builtin/count-objects.c | |
parent | submodule--helper: prefer strip_suffix() to ends_with() (diff) | |
download | git-263db403face43927c2eb545a2e6ebb39aae4239.tar.xz git-263db403face43927c2eb545a2e6ebb39aae4239.zip |
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 'builtin/count-objects.c')
-rw-r--r-- | builtin/count-objects.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/count-objects.c b/builtin/count-objects.c index a7cad052c6..3fae474f6f 100644 --- a/builtin/count-objects.c +++ b/builtin/count-objects.c @@ -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; } |