]> git.99rst.org Git - git.git/commit
builtin/bundle.c: remove superfluous "newargc" variable
authorÆvar Arnfjörð Bjarmason <redacted>
Tue, 27 Dec 2022 18:39:09 +0000 (19:39 +0100)
committerJunio C Hamano <redacted>
Tue, 27 Dec 2022 23:30:01 +0000 (08:30 +0900)
commite778ecbcee3a4a14e46c06d66328fdfc0af8780d
tree34ad4d2cfbf0b5d64547441950ca9a42ccdb5b88
parent891cb09db6c0e6bf11b8175bc5ea5f45493afb85
builtin/bundle.c: remove superfluous "newargc" variable

As noted in 891cb09db6c (bundle: don't segfault on "git bundle
<subcmd>", 2022-12-20) the "newargc" in this function is redundant to
using our own "argc". Let's refactor the function to avoid needlessly
introducing another variable.

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/bundle.c
git clone https://git.99rst.org/PROJECT