Skip to content

Conversation

@jorenverspeurt
Copy link

Fix for the case where someone commits for the first time on a repository and so getting their previous commit fails.
I opted to choose the previous time anyone committed instead, which is probably wrong, but it should be right enough for practical purposes in my estimation.

…tory and so getting their previous commit fails
Copy link
Member

@lsorber lsorber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! We should address the case that there are no commits at all at some point too.

@lsorber lsorber merged commit f409734 into superlinear-ai:master Jun 20, 2019
lsorber pushed a commit that referenced this pull request Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants