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

Fix: Handle filenames with leading "." #11

Merged
merged 8 commits into from Jan 21, 2021

Conversation

bowernite
Copy link
Contributor

Summary

This PR fixes #9, where dotfiles (filenames with a leading .) would have a blank "message" to put in the commit message.

This had the result of a crash if all files in the commit had this characteristic, since the command that gitupdate would try is git commit -m "" (empty commit message)

Changes

  • Small refactor

Notes

@nikitavoloboev
Copy link
Owner

Thanks ❤️

@nikitavoloboev nikitavoloboev merged commit e8bd487 into nikitavoloboev:master Jan 21, 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.

Exit status 1 for dotfile
2 participants