refactor t1517 to focus on help output outside a repository
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest3 patches 2 repliesIn review
- v53 patches 3 repliesSuperseded
- v42 patches 18 repliesSuperseded
Changes in v6 from the cover letter
- fix instaweb test using PERL prereqs (helped by Ben)
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | t/t1517: automate `git subcmd -h` tests outside a repositoryt/ | +28 | 0 replies | |
| 2/3 | t5200: move `update-server-info -h` test from t1517t/ t/ | +5 | 0 replies | |
| 3/3 | t5304: move `prune -h` test from t1517t/ t/ | +5 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Junio C Hamano | D. Ben Knoble |
|---|---|---|
| 1/3 | Helped-by | Helped-by |
| 2/3 | Helped-by | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/3] refactor t1517 to focus on help output outside a repository
This series refactors t1517-outside-repo.sh to focus on testing git subcmd -h outside a Git repository. It does two things:
1. Moves the existing update-server-info -h test to t5200, since it tests behavior inside a repo and belongs with other update-server-info tests.
2. Moves the existing prune -h test to t5304, since it tests behavior inside a repo and belongs with other prune tests.
3. Introduces a loop in t1517 that automatically verifies -h output for all main Git subcommands when run outside a repository, using the nongit helper and git --list-cmds=main.
This makes t1517 easier to maintain and ensures that new commands are automatically covered for this class of behavior.
Changes since v5:
- fix instaweb test using PERL prereqs (helped by Ben)
Note:
This new iteration is based on7cd03a555a (builtin/prune: stop depending on 'the_repository', 2025-07-04) commit.
Usman Akinyemi (3):
t/t1517: automate git subcmd -h tests outside a repository
t5200: move update-server-info -h test from t1517
t5304: move prune -h test from t1517
t/t1517-outside-repo.sh | 40 +++++++++++++++++++++++------------ t/t5200-update-server-info.sh | 5 +++++ t/t5304-prune.sh | 5 +++++ 3 files changed, 37 insertions(+), 13 deletions(-)
Signature · 1 line
2.50.1