summaryrefslogtreecommitdiff
path: root/src/other_tools/root_maps/commit_git_map.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-08-19 12:50:42 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-08-26 11:36:34 +0200
commit16708110d85714d6ca02623be0cbc99f387e3b77 (patch)
tree3b4de9edc7567a3115d5236649cff4f2b0d22ecf /src/other_tools/root_maps/commit_git_map.cpp
parent426f01ee6be96f3ad7298c09adbe5297e3537f1d (diff)
downloadjustbuild-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/commit_git_map.cpp')
-rw-r--r--src/other_tools/root_maps/commit_git_map.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/other_tools/root_maps/commit_git_map.cpp b/src/other_tools/root_maps/commit_git_map.cpp
index 9f6943c8..873f7484 100644
--- a/src/other_tools/root_maps/commit_git_map.cpp
+++ b/src/other_tools/root_maps/commit_git_map.cpp
@@ -201,7 +201,6 @@ void TagAndSetRoot(std::filesystem::path const& repo_root,
{
repo_root, // target_path
repo_info.hash, // git_hash
- "", // branch
"Keep referenced tree alive" // message
},
.op_type = GitOpType::KEEP_TAG};
@@ -281,7 +280,6 @@ void TakeCommitFromOlderGeneration(
{
source, // target_path
repo_info.hash, // git_hash
- "", // branch
"Tag commit for fetching" // message
},
.op_type = GitOpType::KEEP_TAG};
@@ -692,7 +690,6 @@ void EnsureCommit(GitRepoInfo const& repo_info,
{
storage_config->GitRoot(), // target_path
"", // git_hash
- "", // branch
std::nullopt, // message
true // init_bare
},
@@ -1104,7 +1101,6 @@ auto CreateCommitGitMap(
{
repo_root, // target_path
"", // git_hash
- "", // branch
std::nullopt, // message
not just_mr_paths->git_checkout_locations.contains(
fetch_repo) // init_bare