From 082bf002546cfa7aaa7c5b79b03a1b6dd95454af Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 6 Mar 2024 13:01:04 +0100 Subject: hyprpm: Add support for specifying exact git revisions for plugin repo (#4983) * hyprpm(feat): support specifying exact git revs * Mention git rev argument in help * Mention git rev arg is optional * Wrap text --- hyprpm/src/core/PluginManager.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hyprpm/src/core/PluginManager.hpp') diff --git a/hyprpm/src/core/PluginManager.hpp b/hyprpm/src/core/PluginManager.hpp index dedb2d43..028e6357 100644 --- a/hyprpm/src/core/PluginManager.hpp +++ b/hyprpm/src/core/PluginManager.hpp @@ -36,7 +36,7 @@ struct SHyprlandVersion { class CPluginManager { public: - bool addNewPluginRepo(const std::string& url); + bool addNewPluginRepo(const std::string& url, const std::string& rev); bool removePluginRepo(const std::string& urlOrName); eHeadersErrors headersValid(); @@ -60,4 +60,4 @@ class CPluginManager { std::string headerError(const eHeadersErrors err); }; -inline std::unique_ptr g_pPluginManager; \ No newline at end of file +inline std::unique_ptr g_pPluginManager; -- cgit v1.2.3