-
Notifications
You must be signed in to change notification settings - Fork 934
Document or fix linting on shallow clones #7
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
Labels
Comments
Here's a workaround for TravisCI (which does shallow clones): #6 (comment) |
My workaround had an issue with tag commits since those result in a detached head. My current workaround is to do this in my
I'm not sure exactly why but this makes the master branch visible to the linter. |
After chewing around on this for quite a while I'll go with the following approach:
|
marionebl
added a commit
that referenced
this issue
Jul 7, 2017
<a name="2.1.0"></a> # [2.1.0](v1.1.9...v2.1.0) (2017-07-07) ### Bug Fixes * prevent false positives for footer-leading-blank ([#33](#33)) ([05b4427](05b4427)) * rebuff rules ([#34](#34)) ([702a2f7](702a2f7)) * throw when detecting a shallow clone ([8c354c5](8c354c5)), closes [#7](#7) [#12](#12) * update to latest angular config ([b1f3606](b1f3606)) ### Features * ignore fixup and squash commit ([#17](#17)) ([f0b83d8](f0b83d8))
marionebl
added a commit
that referenced
this issue
Jul 7, 2017
… (2017-07-07) ### Bug Fixes * prevent false positives for footer-leading-blank ([#33](#33)) ([05b4427](05b4427)) * rebuff rules ([#34](#34)) ([702a2f7](702a2f7)) * throw when detecting a shallow clone ([8c354c5](8c354c5)), closes [#7](#7) [#12](#12) * update to latest angular config ([b1f3606](b1f3606)) ### Features * ignore fixup and squash commit ([#17](#17)) ([f0b83d8](f0b83d8))
marionebl
added a commit
that referenced
this issue
Jul 10, 2017
… (2017-07-07) ### Bug Fixes * prevent false positives for footer-leading-blank ([#33](#33)) ([05b4427](05b4427)) * rebuff rules ([#34](#34)) ([702a2f7](702a2f7)) * throw when detecting a shallow clone ([8c354c5](8c354c5)), closes [#7](#7) [#12](#12) * update to latest angular config ([b1f3606](b1f3606)) ### Features * ignore fixup and squash commit ([#17](#17)) ([f0b83d8](f0b83d8))
marionebl
added a commit
that referenced
this issue
Jul 10, 2017
… (2017-07-07) ### Bug Fixes * prevent false positives for footer-leading-blank ([#33](#33)) ([05b4427](05b4427)) * rebuff rules ([#34](#34)) ([702a2f7](702a2f7)) * throw when detecting a shallow clone ([8c354c5](8c354c5)), closes [#7](#7) [#12](#12) * update to latest angular config ([b1f3606](b1f3606)) ### Features * ignore fixup and squash commit ([#17](#17)) ([f0b83d8](f0b83d8))
marionebl
added a commit
that referenced
this issue
Jul 11, 2017
… (2017-07-07) ### Bug Fixes * prevent false positives for footer-leading-blank ([#33](#33)) ([05b4427](05b4427)) * rebuff rules ([#34](#34)) ([702a2f7](702a2f7)) * throw when detecting a shallow clone ([8c354c5](8c354c5)), closes [#7](#7) [#12](#12) * update to latest angular config ([b1f3606](b1f3606)) ### Features * ignore fixup and squash commit ([#17](#17)) ([f0b83d8](f0b83d8))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Shallow cloned repository yield errors via
git-raw-commits
.conventional-changelog-lint
should either document how to circumvent these limitations or support commit listing on shallow clones, too.see #6
The text was updated successfully, but these errors were encountered: