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
115 stars 34 forks source link

Support git safe directory for manifest in subdirectory #387

Closed dbnicholson closed 11 months ago

dbnicholson commented 1 year ago

The code to add a git safe directory was assuming that the manifest was in the root of the git checkout. That's obviously not always the case, so use git rev-parse --show-toplevel to locate it.

Fixes: #386