Skip to content

submodule pushes be extra careful

Stefan Beller git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 2 patches 4 repliesIn review

1 of 2 patches is in this archive. The cover letter announces 2.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2submodule add: extend force flag to add existing reposgit-submodule.sh t/t7400-submodule-basic.sh+22 -24 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] submodule pushes be extra careful

This is a reroll of
http://public-inbox.org/git/[email protected]/
([PATCHv3 1/2] push: change submodule default to check when submodules exist) but with a test.

As we only have a heuristic, the test failed initially as these tests don't have any configuration at all nor do they have the submodule repos in the superprojects git dir. So I was looking for a cheap way to add a config.

I could have written the config myself via git config, I think it is more idiomatic to use a submodule command for that. However just getting the configuration added is not possible with a submodule command, so I made one in the first patch.

Thanks,
Stefan

Stefan Beller (2):
submodule add: extend force flag to add existing repos
push: change submodule default to check when submodules exist

 builtin/push.c                 | 15 ++++++++++++++-
 git-submodule.sh               | 10 ++++++++--
 t/t5531-deep-submodule-push.sh |  6 +++++-
 t/t7400-submodule-basic.sh     | 14 ++++++++++++++
 4 files changed, 41 insertions(+), 4 deletions(-)
Signature · 1 line
2.10.1.353.g1629400