Skip to content

Commit

Permalink
hyprpm: disallow shallow on unknown branch
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Oct 10, 2024
1 parent c4eb194 commit b65773b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyprpm/src/core/PluginManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b65773b

Please sign in to comment.