hyprpm: add --no-shallow
This commit is contained in:
parent
908bec1564
commit
1f5fd7e64a
3 changed files with 10 additions and 5 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue