diff options
| author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-02-24 10:33:01 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-02-24 15:59:14 -0800 |
| commit | 0cb9872eab627ba5718716e10799db9545a7044d (patch) | |
| tree | 726fc0042b72671bc61cd127f88e539a50679d7b /commit-graph.c | |
| parent | trace2: use designated initializers for "struct tr2_dst" (diff) | |
| download | git-0cb9872eab627ba5718716e10799db9545a7044d.tar.gz git-0cb9872eab627ba5718716e10799db9545a7044d.zip | |
object-file: use designated initializers for "struct git_hash_algo"
As with the preceding commit, change another file-level struct
assignment to use designated initializers.
Retain the ".name = NULL" etc. in the case of the first element of
"unknown hash algorithm", to make it explicit that we're intentionally
not setting those, it's not just that we forgot.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions
