diff options
author | Jiang Xin <zhiyou.jx@alibaba-inc.com> | 2023-04-02 21:05:57 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-03 09:32:02 -0700 |
commit | dc12ee77ab873c71170fbc68b68fdfabe3262ec8 (patch) | |
tree | 33524e5d8dba15a937b5aa19ced84b7ed935629b /commit.c | |
parent | 7556e5d737b917d31ac3729b0f5e2391da7e132a (diff) |
object-info: init request_info before reading arg
When retrieving object info via capability "object-info", we store the
command args into a requested_info variable, but forget to initialize
it. Initialize the variable before use to prevent unexpected output.
Signed-off-by: Jiang Xin <zhiyou.jx@alibaba-inc.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions