Skip to content
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

Chalk operations segfault on empty git repo #38

Closed
miki725 opened this issue Oct 5, 2023 · 1 comment · Fixed by #39
Closed

Chalk operations segfault on empty git repo #38

miki725 opened this issue Oct 5, 2023 · 1 comment · Fixed by #39
Assignees
Labels
bug Something isn't working

Comments

@miki725
Copy link
Contributor

miki725 commented Oct 5, 2023

Description

When running any chalk operation such as insert, load in empty git repo, it results in segfault

Impact

Unable to run chalk if repo is empty (e.g. fresh repo in CI/etc)

Steps to Reproduce

git init
cp $(which ls) .
chalk insert ls
@miki725 miki725 added the bug Something isn't working label Oct 5, 2023
@miki725 miki725 self-assigned this Oct 5, 2023
@miki725
Copy link
Contributor Author

miki725 commented Oct 5, 2023

adding test in #39 for easy reproducibility. will work on a fix now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant