summaryrefslogtreecommitdiffstats
path: root/object-file.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2023-01-12 17:06:49 +0100
committerJunio C Hamano <gitster@pobox.com>2023-01-13 18:36:15 +0100
commit15b63689a1698f91c6882bbf99f43226033d7cb1 (patch)
tree930c218b345697c765f53d014ddbf9a87726d0ec /object-file.c
parentpackfile: inline custom read_object() (diff)
downloadgit-15b63689a1698f91c6882bbf99f43226033d7cb1.tar.xz
git-15b63689a1698f91c6882bbf99f43226033d7cb1.zip
object-file: fix indent-with-space
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>
Diffstat (limited to '')
-rw-r--r--object-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/object-file.c b/object-file.c
index 80b08fc389..ce9efae994 100644
--- a/object-file.c
+++ b/object-file.c
@@ -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;
}