hyprpm: add --no-shallow

This commit is contained in:
Vaxry
2024-06-15 21:46:36 +02:00
parent 908bec1564
commit 1f5fd7e64a
3 changed files with 10 additions and 5 deletions

View File

@@ -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.