diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-06-15 21:46:36 +0200 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-06-15 21:46:36 +0200 |
| commit | 1f5fd7e64a1c0e8d1815bdd6d168193bf9c28d6d (patch) | |
| tree | 4086bc74840f77f21bf300c51db006fa7c9c64b0 /hyprpm/src/core/PluginManager.cpp | |
| parent | 908bec1564e4fe448a2a8a7371bbb0621c62b11a (diff) | |
hyprpm: add --no-shallow
Diffstat (limited to 'hyprpm/src/core/PluginManager.cpp')
| -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 e8c6e251..848b9cab 100644 --- a/hyprpm/src/core/PluginManager.cpp +++ b/hyprpm/src/core/PluginManager.cpp @@ -427,7 +427,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 == ""; + const bool bShallow = (HLVER.branch == "main" || HLVER.branch == "") && !m_bNoShallow; // let us give a bit of leg-room for shallowing // due to timezones, etc. |
