From 3c6fff8a186bacab65f572dddb1a5d9e5def4247 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Fri, 31 Mar 2023 22:13:56 +0200 Subject: [PATCH] Detached HEAD is now considered a local change in GuiThemeDownloader --- es-app/src/guis/GuiThemeDownloader.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/es-app/src/guis/GuiThemeDownloader.cpp b/es-app/src/guis/GuiThemeDownloader.cpp index ca6082728..acf2562b3 100644 --- a/es-app/src/guis/GuiThemeDownloader.cpp +++ b/es-app/src/guis/GuiThemeDownloader.cpp @@ -436,6 +436,8 @@ void GuiThemeDownloader::makeInventory() if (checkLocalChanges(repository)) theme.hasLocalChanges = true; + else if (git_repository_head_detached(repository)) + theme.hasLocalChanges = true; git_repository_free(repository); }