[gnome-builder] git: initialize submodules earlier



commit 53f924c2ef13a08e912fc4978c9c0361baa8c289
Author: Christian Hergert <chergert redhat com>
Date:   Sun Apr 28 18:02:42 2019 -0700

    git: initialize submodules earlier
    
    This needs to happen before flatpak manifest work or else manifests cannot
    be linked to submodules.

 src/plugins/git/gbp-git-pipeline-addin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/git/gbp-git-pipeline-addin.c b/src/plugins/git/gbp-git-pipeline-addin.c
index a44ddf1ae..991a3a67d 100644
--- a/src/plugins/git/gbp-git-pipeline-addin.c
+++ b/src/plugins/git/gbp-git-pipeline-addin.c
@@ -55,7 +55,7 @@ gbp_git_pipeline_addin_load (IdePipelineAddin *addin,
 
   submodule = gbp_git_submodule_stage_new (context);
   stage_id = ide_pipeline_attach (pipeline,
-                                  IDE_PIPELINE_PHASE_DOWNLOADS,
+                                  IDE_PIPELINE_PHASE_PREPARE | IDE_PIPELINE_PHASE_AFTER,
                                   100,
                                   IDE_PIPELINE_STAGE (submodule));
   ide_pipeline_addin_track (addin, stage_id);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]