From c889b852a652115f4a6936a96ebdee9410571997 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 19 Aug 2024 16:01:16 +0200 Subject: GitOps: Pass source directory to GitInitialCommit operation While there, ensure optional Git operation parameters are checked before use for the operations that require them. --- src/other_tools/root_maps/distdir_git_map.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/other_tools/root_maps/distdir_git_map.cpp') diff --git a/src/other_tools/root_maps/distdir_git_map.cpp b/src/other_tools/root_maps/distdir_git_map.cpp index 2d2ad107..4a7e9b51 100644 --- a/src/other_tools/root_maps/distdir_git_map.cpp +++ b/src/other_tools/root_maps/distdir_git_map.cpp @@ -173,6 +173,7 @@ auto CreateDistdirGitMap( storage_config->GitRoot(), // target_path "", // git_hash std::nullopt, // message + std::nullopt, // source_path true // init_bare }, .op_type = GitOpType::ENSURE_INIT}; -- cgit v1.2.3