Commit 571b2da
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 <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent ead7149 commit 571b2da
1 file changed
+2
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 56 | | |
62 | 57 | | |
63 | 58 | | |
| |||
524 | 519 | | |
525 | 520 | | |
526 | 521 | | |
| 522 | + | |
527 | 523 | | |
528 | | - | |
529 | 524 | | |
530 | 525 | | |
531 | 526 | | |
532 | 527 | | |
533 | | - | |
534 | 528 | | |
535 | 529 | | |
536 | 530 | | |
537 | | - | |
538 | 531 | | |
539 | 532 | | |
540 | 533 | | |
| |||
554 | 547 | | |
555 | 548 | | |
556 | 549 | | |
557 | | - | |
| 550 | + | |
558 | 551 | | |
559 | 552 | | |
560 | 553 | | |
| |||
0 commit comments