From 16708110d85714d6ca02623be0cbc99f387e3b77 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 19 Aug 2024 12:50:42 +0200 Subject: GitOpParams: Remove unneeded branch field The 'branch' field is deprecated, not being used by any of the critical Git operations, thus it can be removed. --- src/other_tools/root_maps/fpath_git_map.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/other_tools/root_maps/fpath_git_map.cpp') diff --git a/src/other_tools/root_maps/fpath_git_map.cpp b/src/other_tools/root_maps/fpath_git_map.cpp index 2de194d9..d4a46486 100644 --- a/src/other_tools/root_maps/fpath_git_map.cpp +++ b/src/other_tools/root_maps/fpath_git_map.cpp @@ -177,7 +177,6 @@ void ResolveFilePathTree( { storage_config->GitRoot(), // target_path resolved_tree_id, // git_hash - "", // branch "Keep referenced tree alive" // message }, .op_type = GitOpType::KEEP_TREE}; @@ -294,7 +293,6 @@ auto CreateFilePathGitMap( { *repo_root, // target_path "", // git_hash - "", // branch }, .op_type = GitOpType::GET_HEAD_ID}; critical_git_op_map->ConsumeAfterKeysReady( @@ -351,7 +349,6 @@ auto CreateFilePathGitMap( { storage_config->GitRoot(), // target_path "", // git_hash - "", // branch std::nullopt, // message true // init_bare }, -- cgit v1.2.3