flathub-infra / flatpak-external-data-checker

A tool for checking if the external data used in Flatpak manifests is still up to date
GNU General Public License v2.0
116 stars 34 forks source link

Git safe directory does not work when manifest is in subdirectory #386

Closed dbnicholson closed 8 months ago

dbnicholson commented 9 months ago

The code to set a git safe directory assumes that the manifest is in the root of the git checkout. If it's not, then only it's subdirectory is marked as safe and commits can't be made since the .git directory is not included. See https://github.com/flathub/flatpak-external-data-checker/issues/352#issuecomment-1580575699 for example.