-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Submodule and sub-directory project is broken #153
Comments
The only reason I'm not always passing I no longer maintain a Jenkins, and I believe newer Git versions have rewritten the submodule recursion code in C rather than the shell script that it used before, so it should be fine to remove that workaround. (Also, I hadn't realized that .gitmodules could exist in any subdirectory, not just at the top level.) EDIT: I completely forgot that there was a second reason not to pass |
Released check-manifest 0.48 with a fix for this. |
You're awesome. I had hard time too maintaining Jenkins CI. Kudo ! |
Hi,
Say you have a repository with a Python project in a subdirectory and a submodule :
check-manifest 0.47 project/ fails to determine the presence of a submodule becase
_has_submodules
checks forproject/.gitmodules
instead of top level .gitmodules.A workaround is to put an empty
project/.gitmodules
file.May I suggest to always call
ls-files
with--recurse-submodules
?Thanks for check-manifest.
The text was updated successfully, but these errors were encountered: