Skip to content

Resend of origin/sb/submodule-update-in-c

Stefan Beller git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6git-submodule.sh: align error reporting for update mode to use pathgit-submodule.sh+1 -10 replies
2/6git-submodule.sh: rename unused variablesbuiltin/submodule--helper.c git-submodule.sh+4 -50 replies
3/6builtin/submodule--helper: factor out submodule updatingbuiltin/submodule--helper.c+33 -260 replies
4/6builtin/submodule--helper: store update_clone information in a structbuiltin/submodule--helper.c+27 -100 replies
5/6builtin/submodule--helper: factor out method to update a single submodulebuiltin/submodule--helper.c+10 -100 replies
6/6submodule--helper: introduce new update-module-mode helperbuiltin/submodule--helper.c git-submodule.sh+62 -150 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/6] Resend of origin/sb/submodule-update-in-c

This fixes the compilation issue raised by SZEDER and Stolee,

6: 3c156c79ae7 ! 6: f82f24e73b6 submodule--helper: introduce new update-module-mode helper

    @@ -10,7 +10,6 @@
         for arbitrary repositories.
     
         Signed-off-by: Stefan Beller <[email protected]>
    -    Signed-off-by: Junio C Hamano <[email protected]>
     
     diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
     --- a/builtin/submodule--helper.c
    @@ -74,7 +73,7 @@
     +	determine_submodule_update_strategy(the_repository,
     +					    just_cloned, path, update,
     +					    &update_strategy);
    -+	fprintf(stdout, submodule_strategy_to_string(&update_strategy));
    ++	fputs(submodule_strategy_to_string(&update_strategy), stdout);
     +
     +	return 0;
     +}

Thanks,
Stefan