]> git.ipfire.org Git - thirdparty/git.git/commitdiff
object-file: fix indent-with-space
authorJeff King <peff@peff.net>
Thu, 12 Jan 2023 16:06:49 +0000 (11:06 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Jan 2023 17:36:15 +0000 (09:36 -0800)
Commit b25562e63f (object-file: inline calls to read_object(),
2023-01-07) accidentally indented a conditional block with spaces
instead of a tab.

Reported-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Jeff King <peff@peff.net>
Acked-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object-file.c

index 80b08fc389ae5f617b47969d87e0f48bd892a504..ce9efae9940c78476f7610685ee4facaef8a0673 100644 (file)
@@ -1708,7 +1708,7 @@ void *repo_read_object_file(struct repository *r,
        oi.sizep = size;
        oi.contentp = &data;
        if (oid_object_info_extended(r, oid, &oi, flags))
-           return NULL;
+               return NULL;
 
        return data;
 }