-
Notifications
You must be signed in to change notification settings - Fork 455
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
ratchetFrom
not working in git-submodule
#746
Comments
BTW, why not using 'origin/master' instead of 'origin/main' in |
Interesting... I thought that we did support submodule, but we don't have a test for that, so not too surprised if it is broken. This is probably where the bug lives, PR's welcome. spotless/lib-extra/src/main/java/com/diffplug/spotless/extra/GitRatchet.java Lines 201 to 228 in d9474fb
|
Fixed in |
Bump. |
If you are submitting a bug, please include the following:
ratchetFrom
not working if current project is a git-submodule. if<ratchetFrom>origin/master</ratchetFrom>
section is set, nothing happended. But if the<ratchetFrom>
is removed, everything works fine.maven 3.6.5
2.6.1
Mac
there is no
.git
dir in git-submodule which is presented in parent module directory. Is It parsing and filter modified files using./.git
directory?The text was updated successfully, but these errors were encountered: