Skip to content

Conversation

@jelaniwoods
Copy link
Contributor

Resolves #108

Problem

Due to changes in #105

When a project has 1 commit on the current branch git show HEAD~1 was being called which throws an error since it requires a previous commit.

Solution

Don't call git show HEAD~1 when the log has one commit.

@jelaniwoods jelaniwoods changed the title Hotfix show last commit Fix show last commit for projects with 1 commit Jul 9, 2021
@jelaniwoods jelaniwoods merged commit 93dca13 into spring2020 Jul 9, 2021
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