diff options
author | Denton Liu <liu.denton@gmail.com> | 2019-12-20 10:15:50 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-20 11:30:44 -0800 |
commit | 3738439c7779acf2dafadbbc488bb222c94a2b12 (patch) | |
tree | dc809bbf2d3085a7ca20b4669e6b483705f2d791 /builtin/commit.c | |
parent | 7717242014dc59f58db7e56c2b8f9fc79e04fa0b (diff) |
t0003: use named parameters in attr_check()
We had named the parameters in attr_check() but $2 was being used
instead of $expect. Make all variable accesses in attr_check() use named
variables instead of numbered arguments for clarity.
While we're at it, add variable assignments to the &&-chain. These
aren't ever expected to fail but if a future developer ever adds some
code above the assignments and they could fail in some way, the intact
&&-chain will ensure that the failure is caught.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions