diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-08-23 14:30:19 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-30 17:06:18 -0700 |
commit | 070e7c5619bfaca2b1e93255d892b68ed455aaa6 (patch) | |
tree | 287abaadc402e184c146e719a4700902f82dd4b1 /t/t5318-commit-graph.sh | |
parent | multi-pack-index: refactor "goto usage" pattern (diff) | |
download | tgif-070e7c5619bfaca2b1e93255d892b68ed455aaa6.tar.xz |
commit-graph: early exit to "usage" on !argc
Rather than guarding all of the !argc with an additional "if" arm
let's do an early goto to "usage". This also makes it clear that
"save_commit_buffer" is not needed in this case.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5318-commit-graph.sh')
0 files changed, 0 insertions, 0 deletions