Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

cache not invalidated on config changes #34

Closed
simon-weber opened this issue Oct 3, 2014 · 2 comments
Closed

cache not invalidated on config changes #34

simon-weber opened this issue Oct 3, 2014 · 2 comments

Comments

@simon-weber
Copy link
Contributor

If .gitlint.yaml has been updated since the cache was written, the output cache should be invalidated. Otherwise, you could edit the config to eg ignore an error type, but it'll still be present when rerunning.

@simon-weber
Copy link
Contributor Author

How about storing a single file in ~/.git-lint (above the cache tree so we don't clobber the namespace) to represent the last modification of the config? If that's acceptable, I can send a PR.

@sk-
Copy link
Owner

sk- commented Oct 6, 2014

Hi Simon, I think that's a good solution. Feel free to send me a PR.

By the way this is a duplicate of #19. So I will close it.

@sk- sk- closed this as completed Oct 6, 2014
@sk- sk- added the duplicate label Oct 6, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants