diff options
author | Vaxry <[email protected]> | 2024-10-10 11:01:13 +0100 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-10-10 11:01:13 +0100 |
commit | b65773bea9b912a41cfcbc789fb2e60a07e3d0c1 (patch) | |
tree | 87a3b492fcbe2bc1b3f9f51427f779c42ff33f4b | |
parent | c4eb1940336cd88ca65ba65582ce104e49dfc7c9 (diff) | |
download | Hyprland-b65773bea9b912a41cfcbc789fb2e60a07e3d0c1.tar.gz Hyprland-b65773bea9b912a41cfcbc789fb2e60a07e3d0c1.zip |
hyprpm: disallow shallow on unknown branch
-rw-r--r-- | hyprpm/src/core/PluginManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hyprpm/src/core/PluginManager.cpp b/hyprpm/src/core/PluginManager.cpp index 669789b4..612995dc 100644 --- a/hyprpm/src/core/PluginManager.cpp +++ b/hyprpm/src/core/PluginManager.cpp @@ -436,7 +436,7 @@ bool CPluginManager::updateHeaders(bool force) { progress.printMessageAbove(std::string{Colors::YELLOW} + "!" + Colors::RESET + " Cloning https://github.com/hyprwm/hyprland, this might take a moment."); - const bool bShallow = (HLVER.branch == "main" || HLVER.branch == "") && !m_bNoShallow; + const bool bShallow = (HLVER.branch == "main") && !m_bNoShallow; // let us give a bit of leg-room for shallowing // due to timezones, etc. |