mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-15 06:25:59 +01:00
hyprpm: disallow shallow on unknown branch
This commit is contained in:
parent
c4eb194033
commit
b65773bea9
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue