diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-08-19 12:50:42 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-08-26 11:36:34 +0200 |
commit | 16708110d85714d6ca02623be0cbc99f387e3b77 (patch) | |
tree | 3b4de9edc7567a3115d5236649cff4f2b0d22ecf /src/other_tools/root_maps/content_git_map.cpp | |
parent | 426f01ee6be96f3ad7298c09adbe5297e3537f1d (diff) | |
download | justbuild-16708110d85714d6ca02623be0cbc99f387e3b77.tar.gz |
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.
Diffstat (limited to 'src/other_tools/root_maps/content_git_map.cpp')
-rw-r--r-- | src/other_tools/root_maps/content_git_map.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/other_tools/root_maps/content_git_map.cpp b/src/other_tools/root_maps/content_git_map.cpp index 652f4a25..38aa21a6 100644 --- a/src/other_tools/root_maps/content_git_map.cpp +++ b/src/other_tools/root_maps/content_git_map.cpp @@ -260,7 +260,6 @@ void ResolveContentTree( { storage_config->GitRoot(), // target_path resolved_tree_id, // git_hash - "", // branch "Keep referenced tree alive" // message }, .op_type = GitOpType::KEEP_TREE}; @@ -546,7 +545,6 @@ void HandleLocallyKnownTree( { storage_config->GitRoot(), // target_path "", // git_hash - "", // branch std::nullopt, // message true // init_bare }, @@ -694,7 +692,6 @@ void HandleKnownInOlderGenerationAfterTaggingAndInit( { storage_config->GitRoot(), // target_path tree_id, // git_hash - "", // branch "Keep referenced tree alive" // message }, .op_type = GitOpType::KEEP_TREE}; @@ -760,7 +757,6 @@ void HandleKnownInOlderGenerationAfterTagging( { storage_config->GitRoot(), // target_path "", // git_hash - "", // branch std::nullopt, // message true // init_bare }, @@ -843,7 +839,6 @@ void HandleKnownInOlderGeneration( { source, // target_path *archive_tree_id, // git_hash - "", // branch "Tag commit for fetching" // message }, .op_type = GitOpType::KEEP_TREE}; @@ -1023,7 +1018,6 @@ auto CreateContentGitMap( { storage_config->GitRoot(), // target_path "", // git_hash - "", // branch std::nullopt, // message true // init_bare }, |