diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-10-20 14:12:18 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-10-20 14:12:18 -0700 |
| commit | 8329f6724b959cec1e78f1dc42add0c05d0151d1 (patch) | |
| tree | 3236ab6ebdef824ef7b73e4c0931b0991421e670 | |
| parent | Merge branch 'kh/doc-continued-paragraph-fix' (diff) | |
| parent | builtin/cat-file.c: simplify calling `report_object_status()` (diff) | |
| download | git-8329f6724b959cec1e78f1dc42add0c05d0151d1.tar.gz git-8329f6724b959cec1e78f1dc42add0c05d0151d1.zip | |
Merge branch 'tb/cat-file-objectmode-update'
Code clean-up.
* tb/cat-file-objectmode-update:
builtin/cat-file.c: simplify calling `report_object_status()`
| -rw-r--r-- | builtin/cat-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/cat-file.c b/builtin/cat-file.c index ee6715fa52..5ca2ca3852 100644 --- a/builtin/cat-file.c +++ b/builtin/cat-file.c @@ -495,7 +495,7 @@ static void batch_object_write(const char *obj_name, OBJECT_INFO_LOOKUP_REPLACE); if (ret < 0) { if (data->mode == S_IFGITLINK) - report_object_status(opt, oid_to_hex(&data->oid), &data->oid, "submodule"); + report_object_status(opt, NULL, &data->oid, "submodule"); else report_object_status(opt, obj_name, &data->oid, "missing"); return; |
