mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 09:35:39 +00:00
Detached HEAD is now considered a local change in GuiThemeDownloader
This commit is contained in:
parent
1953d42f92
commit
3c6fff8a18
|
@ -436,6 +436,8 @@ void GuiThemeDownloader::makeInventory()
|
||||||
|
|
||||||
if (checkLocalChanges(repository))
|
if (checkLocalChanges(repository))
|
||||||
theme.hasLocalChanges = true;
|
theme.hasLocalChanges = true;
|
||||||
|
else if (git_repository_head_detached(repository))
|
||||||
|
theme.hasLocalChanges = true;
|
||||||
|
|
||||||
git_repository_free(repository);
|
git_repository_free(repository);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue