git-submodule.sh: improve parsing of options
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest7 patches 0 repliesNew
- v37 patches 4 repliesSuperseded
- v28 patches 6 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 3 patches | 4 replies | Superseded |
Changes in v4 from the cover letter
- Minor typos in some switch case patterns.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | git-submodule.sh: improve parsing of some long optionsgit-submodule.sh | +9 | 0 replies | |
| 2/7 | git-submodule.sh: improve parsing of short optionsgit-submodule.sh | +13 | 0 replies | |
| 3/7 | git-submodule.sh: get rid of isnumbergit-submodule.sh | +2 | 0 replies | |
| 4/7 | git-submodule.sh: get rid of unused variablegit-submodule.sh | +0 | 0 replies | |
| 5/7 | git-submodule.sh: add some commentsgit-submodule.sh | +3 | 0 replies | |
| 6/7 | git-submodule.sh: improve variables readabilitygit-submodule.sh | +95 | 0 replies | |
| 7/7 | git-submodule.sh: rename some variablesgit-submodule.sh | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/7] git-submodule.sh: improve parsing of options
When we run "git submodule", the script parses the various options and then invokes "git-submodule--helper". Unlike most builtin git commands which parse short/long options using parse-options.c, the parsing of arguments is completely done within git-submodule.sh; therefore, there are some inconsistencies with the rest of the commands, in particular the parsing of option arguments given to various options.
Improve the handling of option arguments for both long & short options; for example, passing flags such as "--branch=master" or "-j8" now works.
Changes since v3:
- Minor typos in some switch case patterns.
Link to v3:
https://lore.kernel.org/git/[email protected]
Roy Eldar (7):
git-submodule.sh: improve parsing of some long options git-submodule.sh: improve parsing of short options git-submodule.sh: get rid of isnumber git-submodule.sh: get rid of unused variable git-submodule.sh: add some comments git-submodule.sh: improve variables readability git-submodule.sh: rename some variables
git-submodule.sh | 216 +++++++++++++++++++++++------------------------ 1 file changed, 105 insertions(+), 111 deletions(-)
Signature · 1 line
2.30.2