summaryrefslogtreecommitdiff
path: root/src/other_tools/git_operations
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-09-30 12:16:43 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-10-07 13:37:39 +0200
commitce23db59c6399199fa55b4b7dc8880522e2f1bca (patch)
tree5b77d3c84289f023cbe6f4a81cf391a0087fe660 /src/other_tools/git_operations
parente5d7cb5ce5b9cc40b0c56b18980a4234118c1739 (diff)
downloadjustbuild-ce23db59c6399199fa55b4b7dc8880522e2f1bca.tar.gz
Enable readability-redundant-member-init check.
Diffstat (limited to 'src/other_tools/git_operations')
-rw-r--r--src/other_tools/git_operations/git_ops_types.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/other_tools/git_operations/git_ops_types.hpp b/src/other_tools/git_operations/git_ops_types.hpp
index 0b9f50c4..f36c18c3 100644
--- a/src/other_tools/git_operations/git_ops_types.hpp
+++ b/src/other_tools/git_operations/git_ops_types.hpp
@@ -26,8 +26,8 @@
/// \brief Common parameters for all critical Git operations
struct GitOpParams {
- std::filesystem::path target_path{}; /*key*/
- std::string git_hash{}; /*key*/
+ std::filesystem::path target_path; /*key*/
+ std::string git_hash; /*key*/
std::optional<std::string> message{
std::nullopt}; // mandatory for commits and tags
std::optional<std::filesystem::path> source_path{