summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-08-08 09:35:37 +0200
committerJunio C Hamano <gitster@pobox.com>2024-08-08 09:21:39 -0700
commit69814846aba19f864e8140c2de982ea345f4ce1b (patch)
treef322037cf359168f95a8d705b7ffbdfc9a4f6ca1 /builtin/commit.c
parent5ac781ad624a32ca4136eae40b4f416b21f0af96 (diff)
builtin/clone: propagate ref storage format to submodules
When recursively cloning a repository with a non-default ref storage format, e.g. by passing the `--ref-format=` option, then only the top-level repository will end up using that ref storage format, and all recursively cloned submodules will instead use the default format. While mixed-format constellations are expected to work alright, the outcome still is somewhat surprising as we have essentially ignored the user's request. Fix this by propagating the requested ref format to cloned submodules. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions