-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fix nested submodules #36
Conversation
While top-level submodules (e.g. $GIT_DIR/mysubmodule) were working fine, those in subdirectories (for example, $GIT_DIR/subprojects/mysubmodule) were not, since the middle part of the path (‘subprojects’) was being dropped during the checksum recursion. Fixing this is especially important for any project using Meson-style subprojects, which are conventionally all grouped in the ‘subprojects’ directory. Signed-off-by: Philip Withnall <withnall@endlessm.com>
As in the previous commit. Signed-off-by: Philip Withnall <withnall@endlessm.com>
Signed-off-by: Philip Withnall <withnall@endlessm.com>
5565995
to
d96af5d
Compare
Trivially rebased and added one tiny fix to the TAP line which lists the number of tests. I haven’t re-tested it; that can be done if anyone ever takes a look at this for review. |
Any chance of getting this reviewed and landed? I’ve been using it for over a year without problems now, and aiui it’s not possible to release GLib without it (due to use of submodules within Meson’s |
/cc @cgwalters |
Would be quite nice to have this merged and released :) |
Sorry, I completely missed notifications for this! Looks good to me! |
Thank you! |
While top-level submodules (e.g. $GIT_DIR/mysubmodule) were working
fine, those in subdirectories (for example,
$GIT_DIR/subprojects/mysubmodule) were not, since the middle part of the
path (‘subprojects’) was being dropped during the checksum recursion.
Fixing this is especially important for any project using Meson-style
subprojects, which are conventionally all grouped in the ‘subprojects’
directory.
Signed-off-by: Philip Withnall withnall@endlessm.com