toptal / crystalball

Regression Test Selection library for your RSpec test suite
https://toptal.github.io/crystalball/
MIT License
322 stars 41 forks source link

Rework map expiration check #76

Closed pluff closed 6 years ago

pluff commented 6 years ago

Previously we were fetching map date from working tree logs. We had to do git fetch because of edge case when the map was generated on a commit which is not in local working tree. However doing git fetch can be confusing and unexpected for some users. This PR reworks map expiration check in a way that does not require fetching