diff options
| author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-03-28 15:15:36 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-03-28 19:03:10 -0700 |
| commit | f1abc2d0e146dc7f1549fd3ddb119e1b7f0ea645 (patch) | |
| tree | 4c0b002b3d93e32b0c5f4f2a120b54f9a95bc807 /builtin/commit.c | |
| parent | fsck.h: use "enum object_type" instead of "int" (diff) | |
| download | git-f1abc2d0e146dc7f1549fd3ddb119e1b7f0ea645.tar.gz git-f1abc2d0e146dc7f1549fd3ddb119e1b7f0ea645.zip | |
fsck.c: rename variables in fsck_set_msg_type() for less confusion
Rename variables in a function added in 0282f4dced0 (fsck: offer a
function to demote fsck errors to warnings, 2015-06-22).
It was needlessly confusing that it took a "msg_type" argument, but
then later declared another "msg_type" of a different type.
Let's rename that to "severity", and rename "id" to "msg_id" and
"msg_id" to "msg_id_str" etc. This will make a follow-up change
smaller.
While I'm at it properly indent the fsck_set_msg_type() argument list.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
