diff options
| author | Roy Eldar <royeldar0@gmail.com> | 2024-12-11 08:32:30 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-12-11 20:46:47 +0900 |
| commit | 006f546bc30bd42de6ba569ab70ec80441f54430 (patch) | |
| tree | b1fbe9a95349dec4f14f42bc95b7de613e74a40b /t/unit-tests/u-oid-array.c | |
| parent | e6c3e349458ec2ad36addc6004cffcfa6d663c38 (diff) | |
git-submodule.sh: get rid of isnumber
It's entirely unnecessary to check whether the argument given to an
option (i.e. --summary-limit) is valid in the shell wrapper, since it's
already done when parsing the various options in git-submodule--helper.
Remove this check from the script; this both improves consistency
throughout the script, and the error message shown to the user in case
some invalid non-numeric argument was passed to "--summary-limit" is
more informative as well.
Signed-off-by: Roy Eldar <royeldar0@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/u-oid-array.c')
0 files changed, 0 insertions, 0 deletions
