Skip to content
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 fails on bare checkout #608

Closed
nedtwigg opened this issue Jun 9, 2020 · 1 comment
Closed

ratchetFrom fails on bare checkout #608

nedtwigg opened this issue Jun 9, 2020 · 1 comment
Labels

Comments

@nedtwigg
Copy link
Member

nedtwigg commented Jun 9, 2020

And it does so in an especially unintuitive way:

at com.diffplug.gradle.spotless.GitRatchet.traverseParentsUntil(GitRatchet.java:159) |  
at com.diffplug.gradle.spotless.GitRatchet.repositoryFor(GitRatchet.java:143) |  
at com.diffplug.gradle.spotless.GitRatchet.rootTreeShaOf(GitRatchet.java:182) |  
at com.diffplug.gradle.spotless.SpotlessTaskBase.setupRatchet(SpotlessTaskBase.java:91) |  
at com.diffplug.gradle.spotless.FormatExtension.setupTask(FormatExtension.java:681)

It's probably okay to fail, but the error message should be better.

@nedtwigg nedtwigg added the bug label Jun 9, 2020
@nedtwigg
Copy link
Member Author

Fixed in 4.3.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant