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 /test/other_tools/git_operations/critical_git_ops.test.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 'test/other_tools/git_operations/critical_git_ops.test.cpp')
-rw-r--r-- | test/other_tools/git_operations/critical_git_ops.test.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/other_tools/git_operations/critical_git_ops.test.cpp b/test/other_tools/git_operations/critical_git_ops.test.cpp index 36a95af4..ac1f371c 100644 --- a/test/other_tools/git_operations/critical_git_ops.test.cpp +++ b/test/other_tools/git_operations/critical_git_ops.test.cpp @@ -173,7 +173,6 @@ TEST_CASE("Critical git operations", "[critical_git_op_map]") { { path_init_commit, // target_path "", // git_hash - "", // branch "Init commit" // message }, .op_type = GitOpType::INITIAL_COMMIT}, @@ -181,7 +180,6 @@ TEST_CASE("Critical git operations", "[critical_git_op_map]") { { path_init_bare, // target_path "", // git_hash - "", // branch std::nullopt, // message true // init_bare }, @@ -190,7 +188,6 @@ TEST_CASE("Critical git operations", "[critical_git_op_map]") { { path_init_non_bare, // target_path "", // git_hash - "", // branch std::nullopt, // message false // init_bare }, @@ -199,7 +196,6 @@ TEST_CASE("Critical git operations", "[critical_git_op_map]") { { *path_keep_tag, // target_path kRootCommit, // git_hash - "", // branch "keep-commit" // message }, .op_type = GitOpType::KEEP_TAG}, @@ -207,14 +203,12 @@ TEST_CASE("Critical git operations", "[critical_git_op_map]") { { *path_get_head_id, // target_path "", // git_hash - "", // branch }, .op_type = GitOpType::GET_HEAD_ID}, GitOpKey{.params = { *path_keep_tree, // target_path kBazSymId, // git_hash - "", // branch "keep-tree" // message }, .op_type = GitOpType::KEEP_TREE}}, |